Commit 4adeeba2 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

add new date format

2002-01-10  Jody Goldberg <jody@gnome.org>

	* applix-read.c (applix_parse_style) : add new date format
parent ddf573e8
2002-01-10 Jody Goldberg <jody@gnome.org>
* applix-read.c (applix_parse_style) : add new date format
2002-01-06 Jody Goldberg <jody@gnome.org>
* Release 1.0.1
......
......@@ -376,7 +376,8 @@ applix_parse_style (ApplixReadState *state, char **buffer)
/* 12 */ "dd/mm/yy",
/* 13 */ "dd.mm.yyyy",
/* 14 */ "mmm dd, yyyy",
/* 15 */ "mmmm yyyy"
/* 15 */ "mmmm yyyy",
/* 16 */ "mmm.yyyy"
};
/* General : do nothing */
......@@ -388,7 +389,7 @@ applix_parse_style (ApplixReadState *state, char **buffer)
if (!isdigit ((unsigned char)sep[1]) ||
(0 == (id = strtol (sep+1, &end, 10))) ||
sep+1 == end ||
id < 1 || id > 15)
id < 1 || id > 16)
(void) applix_parse_error (state, "Unknown format");
format = date_formats[id-1];
......
Markdown is supported
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