Added DATETIME20 format template.
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 13 Apr 2007 11:24:01 +0000 (11:24 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 13 Apr 2007 11:24:01 +0000 (11:24 +0000)
src/ui/gui/ChangeLog
src/ui/gui/var-type-dialog.c

index 14fd0cf0481d04094d1126bf2b792e7e1d2110fb..0ecfe49e08c874f35a2ee154f4902887ce0c0abd 100644 (file)
@@ -1,3 +1,7 @@
+2007-04-13   John Darrington <john@darrington.wattle.id.au>
+       
+       * var-type-dialog.c: Added a FMT_DATETIME20 template.
+       
 2007-04-04   John Darrington <john@darrington.wattle.id.au>
 
        * compute-dialog.c compute-dialog.h: New files
index d64b81293a5840a196f8eef2a56e19e316630d48..bd4571283c271512638daed7575e786a885e8a37 100644 (file)
@@ -46,7 +46,7 @@ struct tgs
 
 
 struct format_opt {
-  gchar desc[18];
+  gchar desc[21];
   struct fmt_spec spec;
 };
 
@@ -69,7 +69,8 @@ static const struct format_opt format_option[] =
     { "mmm yy",      {FMT_MOYR, 6, 0} },
     { "dd WK yyyy",  {FMT_WKYR, 10, 0} },
     { "dd WK yy",    {FMT_WKYR, 8, 0} },
-    { "dd-mmm-yyyy HH:MM", {FMT_DATETIME, 17, 0}}
+    { "dd-mmm-yyyy HH:MM", {FMT_DATETIME, 17, 0}},
+    { "dd-mmm-yyyy HH:MM:SS", {FMT_DATETIME, 20, 0}}
   };