Commit 389ca842 authored by Andreas J. Guelzow's avatar Andreas J. Guelzow Committed by Andreas J. Guelzow

http://bugzilla.gnome.org/show_bug.cgi?id=115503 set the date related

2003-06-27  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=115503
	* src/formats.c (cell_format_classify): set the date related
	  FormatCharacteristics to something valid (not just to
something sane)
parent b65c3e2e
2003-06-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=115503
* src/formats.c (cell_format_classify): set the date related
FormatCharacteristics to something valid (not just to something sane)
2003-06-27 Morten Welinder <terra@gnome.org>
* src/rendered-value.c (cell_get_entered_text): Always quote
......
......@@ -9,7 +9,7 @@ Andreas:
* Added new function SSMEDIAN (social science median, or
median for grouped data)
* Added a locale selector to text import.
* Fix 115542 (cs_CZ bug) and various others
* Fix 115542 (cs_CZ bug), 115503 (autofill of dates) and various others
* Fix landscape printing
* Save header/footer defaults
* Update consolidate dialog
......
2003-06-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=115503
* src/formats.c (cell_format_classify): set the date related
FormatCharacteristics to something valid (not just to something sane)
2003-06-27 Morten Welinder <terra@gnome.org>
* src/rendered-value.c (cell_get_entered_text): Always quote
......
2003-06-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
http://bugzilla.gnome.org/show_bug.cgi?id=115503
* src/formats.c (cell_format_classify): set the date related
FormatCharacteristics to something valid (not just to something sane)
2003-06-27 Morten Welinder <terra@gnome.org>
* src/rendered-value.c (cell_get_entered_text): Always quote
......
......@@ -713,6 +713,17 @@ cell_format_classify (StyleFormat const *sf, FormatCharacteristics *info)
for (; elem[j] ; ++j)
if (g_ascii_strcasecmp (_(elem[j]), fmt) == 0) {
info->list_element = j;
switch (i) {
case FMT_DATE:
info->date_has_days =
(NULL != g_utf8_strchr(elem[j],-1,'d'));
info->date_has_months =
(NULL != g_utf8_strchr(elem[j],-1,'m'));
break;
default:
break;
}
return i;
}
}
......
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