[gnumeric] ods: colons don't need quoting in date formats.



commit 3524db52b60efeff2d854734d598fabfef2423a3
Author: Morten Welinder <terra gnome org>
Date:   Fri Jan 1 10:11:24 2016 -0500

    ods: colons don't need quoting in date formats.

 plugins/openoffice/ChangeLog         |    5 +++++
 plugins/openoffice/openoffice-read.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index f0e045d..d2bebe0 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-01  Morten Welinder  <terra gnome org>
+
+       * openoffice-read.c (oo_date_text_append): Colons don't need
+       quoting.
+
 2015-12-31  Andreas J. Guelzow <aguelzow pyrshep ca>
 
        * openoffice-write.c (odf_attrs_as_string): use named text style for
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index b236e47..479069a 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -5119,7 +5119,7 @@ static void
 oo_date_text_append (OOParseState *state, char const *cnt, int cnt_len)
 {
        if (cnt_len > 0) {
-               if (NULL != strchr (" /-(),",*cnt)) {
+               if (NULL != strchr (" /-(),:",*cnt)) {
                        oo_date_text_append_unquoted (state, *cnt);
                        oo_date_text_append (state, cnt + 1, cnt_len - 1);
                        return;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]