[goffice] move ISO 8601 date-time format to the date formats (where the other date-time formats reside.)
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] move ISO 8601 date-time format to the date formats (where the other date-time formats reside.)
- Date: Sat, 27 Aug 2011 07:43:18 +0000 (UTC)
commit e22c60434b0690b3a07c7d92c731be295cd4149f
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Sat Aug 27 01:42:07 2011 -0600
move ISO 8601 date-time format to the date formats (where the other date-time formats reside.)
2011-08-27 Andreas J. Guelzow <aguelzow pyrshep ca>
* goffice/utils/formats.c (_go_currency_date_format_init): ISO 8601 should
be with the other date-time formats
ChangeLog | 5 +++++
goffice/utils/formats.c | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d53184f..03bc546 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-08-27 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * goffice/utils/formats.c (_go_currency_date_format_init): ISO 8601 should
+ be with the other date-time formats
+
+2011-08-27 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* goffice/utils/go-format.c (GOFormatOp): add ops
(go_format_parse_number_fraction): create more program steps for fractions
(go_format_dump_program): handle new ops
diff --git a/goffice/utils/formats.c b/goffice/utils/formats.c
index 9747769..a1fcb59 100644
--- a/goffice/utils/formats.c
+++ b/goffice/utils/formats.c
@@ -275,6 +275,9 @@ _go_currency_date_format_init (void)
go_format_unref (fmt);
}
add_dt_format (dt_hash, FALSE, &N, "yyyy-mm-dd hh:mm:ss");
+ /* ISO 8601 (zulu time only for now) */
+ add_dt_format (dt_hash, FALSE, &N, "yyyy-mm-dd\"T\"hh:mm:ss\"Z\"");
+
g_hash_table_destroy (dt_hash);
@@ -310,9 +313,6 @@ _go_currency_date_format_init (void)
add_dt_format (dt_hash, TRUE, &N, "[h]:mm:ss");
add_dt_format (dt_hash, TRUE, &N, "[mm]:ss");
- /* ISO 8601 (zulu time only for now) */
- add_dt_format (dt_hash, TRUE, &N, "yyyy-mm-dd\"T\"hh:mm:ss\"Z\"");
-
g_hash_table_destroy (dt_hash);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]