From ccab19f8edbd7561990940a06c9d2c2732a697c4 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 13 Apr 2007 11:24:01 +0000 Subject: [PATCH] Added DATETIME20 format template. --- src/ui/gui/ChangeLog | 4 ++++ src/ui/gui/var-type-dialog.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ui/gui/ChangeLog b/src/ui/gui/ChangeLog index 14fd0cf0..0ecfe49e 100644 --- a/src/ui/gui/ChangeLog +++ b/src/ui/gui/ChangeLog @@ -1,3 +1,7 @@ +2007-04-13 John Darrington + + * var-type-dialog.c: Added a FMT_DATETIME20 template. + 2007-04-04 John Darrington * compute-dialog.c compute-dialog.h: New files diff --git a/src/ui/gui/var-type-dialog.c b/src/ui/gui/var-type-dialog.c index d64b8129..bd457128 100644 --- a/src/ui/gui/var-type-dialog.c +++ b/src/ui/gui/var-type-dialog.c @@ -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}} }; -- 2.30.2