[gnumeric] fix unix2date description
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] fix unix2date description
- Date: Tue, 6 Jul 2010 20:44:26 +0000 (UTC)
commit 298ef3113f4d86738882493400cb08a8e9c70c8d
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Tue Jul 6 14:44:40 2010 -0600
fix unix2date description
2010-07-06 Andreas J. Guelzow <aguelzow pyrshep ca>
* functions.c (help_unix2date): Correct description. (#623669)
(help_date2unix): Augment description.
NEWS | 1 +
plugins/fn-date/ChangeLog | 5 +++++
plugins/fn-date/functions.c | 10 +++++-----
3 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/NEWS b/NEWS
index e3189ab..23e74fe 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ Andreas:
* Fix undo of object creation followed by duplication. [#623566]
* Avoid creating interacting auto filters. [#607086]
* Improve comment items of in-cell pop-up menu.
+ * Fix date function docs issue. [#623669]
Jean:
* Fix strong/weak cursor display. [#623241]
diff --git a/plugins/fn-date/ChangeLog b/plugins/fn-date/ChangeLog
index 559944e..45d9871 100644
--- a/plugins/fn-date/ChangeLog
+++ b/plugins/fn-date/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-06 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * functions.c (help_unix2date): Correct description. (#623669)
+ (help_date2unix): Augment description.
+
2010-07-06 Morten Welinder <terra gnome org>
* functions.c (help_isoyear): s/ISE/ISO/ typo. (#623669)
diff --git a/plugins/fn-date/functions.c b/plugins/fn-date/functions.c
index 74a61b5..eb71956 100644
--- a/plugins/fn-date/functions.c
+++ b/plugins/fn-date/functions.c
@@ -134,9 +134,9 @@ gnumeric_date (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
/***************************************************************************/
static GnmFuncHelp const help_unix2date[] = {
- { GNM_FUNC_HELP_NAME, F_("UNIX2DATE:create a date value from a Unix timestamp")},
+ { GNM_FUNC_HELP_NAME, F_("UNIX2DATE:date value corresponding to the Unix timestamp @{t}")},
{ GNM_FUNC_HELP_ARG, F_("t:Unix time stamp")},
- { GNM_FUNC_HELP_DESCRIPTION, F_("The UNIT2DATE function translates Unix timestamps into date serial values. Unix timestamps are number of seconds since Midnight 1-Jan-1900.") },
+ { GNM_FUNC_HELP_DESCRIPTION, F_("The UNIX2DATE function translates Unix timestamps into the corresponding date. A Unix timestamp is the number of seconds since midnight (0:00) of January 1st, 1970 GMT.") },
{ GNM_FUNC_HELP_EXAMPLES, "=UNIX2DATE(1000000000)" },
{ GNM_FUNC_HELP_SEEALSO, "DATE2UNIX,DATE"},
{ GNM_FUNC_HELP_END }
@@ -164,9 +164,9 @@ gnumeric_unix2date (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
/***************************************************************************/
static GnmFuncHelp const help_date2unix[] = {
- { GNM_FUNC_HELP_NAME, F_("DATE2UNIX:translate a date serial value to a Unix timestamp") },
- { GNM_FUNC_HELP_ARG, F_("d:date serial value")},
- { GNM_FUNC_HELP_DESCRIPTION, F_("The DATE2UNIX function translates a date serial values into a Unix timestamp.") },
+ { GNM_FUNC_HELP_NAME, F_("DATE2UNIX:the Unix timestamp corresponding to a date @{d}") },
+ { GNM_FUNC_HELP_ARG, F_("d:date")},
+ { GNM_FUNC_HELP_DESCRIPTION, F_("The DATE2UNIX function translates a date into a Unix timestamp. A Unix timestamp is the number of seconds since midnight (0:00) of January 1st, 1970 GMT.") },
{ GNM_FUNC_HELP_EXAMPLES, "=DATE2UNIX(DATE(2000,1,1))" },
{ GNM_FUNC_HELP_SEEALSO, "UNIX2DATE,DATE"},
{ GNM_FUNC_HELP_END }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]