diff options
author | Kay Sievers <kay@vrfy.org> | 2012-11-24 14:51:19 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-11-24 14:55:35 +0100 |
commit | f0d7b0fcff57ff766b9882d4b11d79c9e478c3bc (patch) | |
tree | c94e11693e06eec14c5047a5e17c69fa00603394 | |
parent | 10341c618ef630c97989b2f5fd708e931fdbe541 (diff) |
shared: FORMAT_TIMESTAMP_MAX -- include space for unicode weekdays
$ LANG=el_GR.UTF-8 ./timedatectl
Local time: Σαβ 2012-11-24 14:53:05 CET
Universal time: Σαβ 2012-11-24 13:53:05 UTC
RTC time: Σαβ 2012-11-24 13:53:04
Timezone: Europe/Berlin (CET, +0100)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: no
Last DST change: DST ended at
Κυρ 2012-10-28 02:59:59 CEST
Κυρ 2012-10-28 02:00:00 CET
Next DST change: DST begins (the clock jumps one hour forward) at
Κυρ 2013-03-31 01:59:59 CET
Κυρ 2013-03-31 03:00:00 CEST
https://bugs.freedesktop.org/show_bug.cgi?id=57470
-rw-r--r-- | src/shared/time-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/time-util.h b/src/shared/time-util.h index 4017b57d25..7194875ec2 100644 --- a/src/shared/time-util.h +++ b/src/shared/time-util.h @@ -53,7 +53,7 @@ typedef struct dual_timestamp { #define USEC_PER_YEAR (31557600ULL*USEC_PER_SEC) #define NSEC_PER_YEAR (31557600ULL*NSEC_PER_SEC) -#define FORMAT_TIMESTAMP_MAX (6+11+9+4+1) +#define FORMAT_TIMESTAMP_MAX ((4*4+1)+11+9+4+1) /* weekdays can be unicode */ #define FORMAT_TIMESTAMP_RELATIVE_MAX 256 #define FORMAT_TIMESPAN_MAX 64 |