Commit 8464c9ba authored by Jody Goldberg's avatar Jody Goldberg
Browse files

Fixed typo in 'date' function.

parent c8b39092
1999-08-12 Jody Goldberg <jgoldberg@home.com>
* src/fn-date.c (gnumeric_date) : Fix typo that was moving us 1900
years into the future.
* src/formats.c (cell_format_numbers) : Use 'Red' rather than 'red'
to match XL better.
......
1999-08-12 Jody Goldberg <jgoldberg@home.com>
* src/fn-date.c (gnumeric_date) : Fix typo that was moving us 1900
years into the future.
* src/formats.c (cell_format_numbers) : Use 'Red' rather than 'red'
to match XL better.
......
......@@ -91,7 +91,7 @@ gnumeric_date (FunctionEvalInfo *ei, Value **argv)
/* FIXME: someone should check this. */
if (year <= 30)
year += 2000;
else if (year < 100)
year += 1900;
if (!g_date_valid_dmy(1, month, year))
......
......@@ -91,7 +91,7 @@ gnumeric_date (FunctionEvalInfo *ei, Value **argv)
/* FIXME: someone should check this. */
if (year <= 30)
year += 2000;
else if (year < 100)
year += 1900;
if (!g_date_valid_dmy(1, month, year))
......
......@@ -91,7 +91,7 @@ gnumeric_date (FunctionEvalInfo *ei, Value **argv)
/* FIXME: someone should check this. */
if (year <= 30)
year += 2000;
else if (year < 100)
year += 1900;
if (!g_date_valid_dmy(1, month, year))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment