[gnumeric] fn-date: docs issues.



commit 026ce732fc3a96a5a7e1bb54154d27cc28bbb385
Author: Morten Welinder <terra gnome org>
Date:   Tue Jul 6 09:31:27 2010 -0400

    fn-date: docs issues.

 NEWS                        |    1 +
 plugins/fn-date/ChangeLog   |    5 +++++
 plugins/fn-date/functions.c |    6 +++---
 3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index 2e711aa..6f81147 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,7 @@ Morten:
 	* Ask user to locate solver binaries when plain search fails.
 	[#619519]
 	* Fix problem with solver target cell entry.
+	* Fix date function docs issues.  [#623669]
 
 --------------------------------------------------------------------------
 Gnumeric 1.10.7
diff --git a/plugins/fn-date/ChangeLog b/plugins/fn-date/ChangeLog
index b6f0cf1..accf520 100644
--- a/plugins/fn-date/ChangeLog
+++ b/plugins/fn-date/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-06  Morten Welinder  <terra gnome org>
+
+	* functions.c (help_isoyear): s/ISE/ISO/ typo.  (623669)
+	(help_weekday): Fix days of week.
+
 2010-07-04  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c (gnumeric_networkdays): take care of 1900/2/29
diff --git a/plugins/fn-date/functions.c b/plugins/fn-date/functions.c
index 5b9213b..477ae3e 100644
--- a/plugins/fn-date/functions.c
+++ b/plugins/fn-date/functions.c
@@ -612,8 +612,8 @@ static GnmFuncHelp const help_weekday[] = {
         { GNM_FUNC_HELP_ARG, F_("method:numbering system")},
 	{ GNM_FUNC_HELP_DESCRIPTION, F_("The WEEKDAY function returns the day-of-week of @{date}.  The value of @{method} determines how days are numbered.") },
 	{ GNM_FUNC_HELP_NOTE, F_("If @{method} is 1, then Sunday is 1, Monday is 2, etc.") },
-	{ GNM_FUNC_HELP_NOTE, F_("If @{method} is 2, then Monday is 1, Sunday is 2, etc.") },
-	{ GNM_FUNC_HELP_NOTE, F_("If @{method} is 3, then Monday is 0, Sunday is 1, etc.") },
+	{ GNM_FUNC_HELP_NOTE, F_("If @{method} is 2, then Monday is 1, Tuesday is 2, etc.") },
+	{ GNM_FUNC_HELP_NOTE, F_("If @{method} is 3, then Monday is 0, Tuesday is 1, etc.") },
 	{ GNM_FUNC_HELP_EXCEL, F_("This function is Excel compatible.") },
         { GNM_FUNC_HELP_EXAMPLES, "=WEEKDAY(DATE(1940,4,9))" },
         { GNM_FUNC_HELP_SEEALSO, "DATE,ISOWEEKNUM"},
@@ -1133,7 +1133,7 @@ gnumeric_isoweeknum (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 static GnmFuncHelp const help_isoyear[] = {
         { GNM_FUNC_HELP_NAME, F_("ISOYEAR:year corresponding to the ISO week number")},
         { GNM_FUNC_HELP_ARG, F_("date:date serial value")},
-	{ GNM_FUNC_HELP_DESCRIPTION, F_("ISOYEAR calculates the year to go with week number according to the ISE 8601 standard.") },
+	{ GNM_FUNC_HELP_DESCRIPTION, F_("ISOYEAR calculates the year to go with week number according to the ISO 8601 standard.") },
 	{ GNM_FUNC_HELP_NOTE, F_("January 1 of a year is sometimes in week 52 or 53 of the previous year.  Similarly, December 31 is sometimes in week 1 of the following year.") },
         { GNM_FUNC_HELP_EXAMPLES, "=ISOYEAR(DATE(2000,1,1))" },
         { GNM_FUNC_HELP_EXAMPLES, "=ISOYEAR(DATE(2008,1,1))" },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]