[goffice] fix little omission
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: svn-commits-list gnome org
- Subject: [goffice] fix little omission
- Date: Tue, 23 Jun 2009 03:52:57 -0400 (EDT)
commit 1a60a88afc57f6c440b14a8122ae8da3cacac4f9
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Tue Jun 23 01:52:33 2009 -0600
fix little omission
2009-06-23 Andreas J. Guelzow <aguelzow pyrshep ca>
* utils/go-format.c (go_format_output_date_to_odf): also consider
elapsed seconds
ChangeLog | 9 +++++++--
goffice/utils/go-format.c | 4 ++--
2 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1cd9d60..09fd994 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
+2009-06-23 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * utils/go-format.c (go_format_output_date_to_odf): also consider
+ elapsed seconds
+
2009-06-22 Andreas J. Guelzow <aguelzow pyrshep ca>
- * utils/go-format.c (go_format_output_date_to_odf): handle elapsed times
- better
+ * utils/go-format.c (go_format_output_date_to_odf): handle elapsed
+ times better
(go_format_output_number_to_odf): also handle currencies and accounting
(go_format_output_currency_to_odf): deleted
(go_format_output_to_odf): use go_format_output_number_to_odf for
diff --git a/goffice/utils/go-format.c b/goffice/utils/go-format.c
index 0c5e7d5..0a6a52e 100644
--- a/goffice/utils/go-format.c
+++ b/goffice/utils/go-format.c
@@ -5486,7 +5486,7 @@ go_format_locale_currency (void)
#define STYLE "style:"
#define FOSTYLE "fo:"
#define NUMBER "number:"
-#define GNMSTYLE "gnm:"
+#define GNMSTYLE "gnm:"
#ifdef DEFINE_COMMON
@@ -5825,7 +5825,7 @@ go_format_output_date_to_odf (GsfXMLOut *xout, GOFormat const *fmt,
gsf_xml_out_start_element (xout, NUMBER "seconds");
gsf_xml_out_add_cstr (xout, NUMBER "style", "short");
if (with_extension)
- gsf_xml_out_add_cstr (xout, GNMSTYLE "elapsed", "true");
+ gsf_xml_out_add_cstr (xout, GNMSTYLE "truncate-on-overflow", "false");
gsf_xml_out_end_element (xout); /* </number:seconds> */
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]