From: John Darrington Date: Fri, 13 Apr 2007 11:24:01 +0000 (+0000) Subject: Added DATETIME20 format template. X-Git-Tag: v0.6.0~494 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccab19f8edbd7561990940a06c9d2c2732a697c4;p=pspp-builds.git Added DATETIME20 format template. --- 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}} };