diff options
author | Damon Chaplin <damon@ximian.com> | 2001-06-11 04:53:13 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-06-11 04:53:13 +0800 |
commit | 56132926ca2d4f308a903937f16b0ecfa447b251 (patch) | |
tree | 98730c730c2da2062cab062023005090b9b7ad8e /e-util/e-time-utils.c | |
parent | 50bd1c4507b341b4ec4700d164f7ea632c51fec8 (diff) | |
download | gsoc2013-evolution-56132926ca2d4f308a903937f16b0ecfa447b251.tar gsoc2013-evolution-56132926ca2d4f308a903937f16b0ecfa447b251.tar.gz gsoc2013-evolution-56132926ca2d4f308a903937f16b0ecfa447b251.tar.bz2 gsoc2013-evolution-56132926ca2d4f308a903937f16b0ecfa447b251.tar.lz gsoc2013-evolution-56132926ca2d4f308a903937f16b0ecfa447b251.tar.xz gsoc2013-evolution-56132926ca2d4f308a903937f16b0ecfa447b251.tar.zst gsoc2013-evolution-56132926ca2d4f308a903937f16b0ecfa447b251.zip |
got rid of '%n' at end of each format string for strptime. I don't know
2001-06-10 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_parse_date_and_time):
(e_time_parse_time): got rid of '%n' at end of each format string
for strptime. I don't know how I managed to put them in there.
svn path=/trunk/; revision=10177
Diffstat (limited to 'e-util/e-time-utils.c')
-rw-r--r-- | e-util/e-time-utils.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/e-util/e-time-utils.c b/e-util/e-time-utils.c index 5c2496051c..130dc738a0 100644 --- a/e-util/e-time-utils.c +++ b/e-util/e-time-utils.c @@ -84,17 +84,17 @@ e_time_parse_date_and_time (const char *value, /* strptime format for a time of day, in 12-hour format. If it is not appropriate in the locale set to an empty string. */ - format[0] = _("%I:%M:%S %p%n"); + format[0] = _("%I:%M:%S %p"); /* strptime format for a time of day, in 24-hour format. */ - format[1] = _("%H:%M:%S%n"); + format[1] = _("%H:%M:%S"); /* strptime format for time of day, without seconds, 12-hour format. If it is is not appropriate in the locale set to an empty string. */ - format[2] = _("%I:%M %p%n"); + format[2] = _("%I:%M %p"); /* strptime format for time of day, without seconds 24-hour format. */ - format[3] = _("%H:%M%n"); + format[3] = _("%H:%M"); for (i = 0; i < sizeof (format) / sizeof (format[0]); i++) { memset (&time_tm, 0, sizeof (time_tm)); @@ -195,17 +195,17 @@ e_time_parse_time (const char *value, /* strptime format for a time of day, in 12-hour format. If it is not appropriate in the locale set to an empty string. */ - format[0] = _("%I:%M:%S %p%n"); + format[0] = _("%I:%M:%S %p"); /* strptime format for a time of day, in 24-hour format. */ - format[1] = _("%H:%M:%S%n"); + format[1] = _("%H:%M:%S"); /* strptime format for time of day, without seconds, 12-hour format. If it is is not appropriate in the locale set to an empty string. */ - format[2] = _("%I:%M %p%n"); + format[2] = _("%I:%M %p"); /* strptime format for time of day, without seconds 24-hour format. */ - format[3] = _("%H:%M%n"); + format[3] = _("%H:%M"); for (i = 0; i < sizeof (format) / sizeof (format[0]); i++) { memset (result, 0, sizeof (*result)); |