From: Bruno Haible Date: Tue, 15 May 2001 18:24:08 +0000 (+0000) Subject: Use RFC822 timezone format. X-Git-Tag: v0.10.38~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a56e487e2596416c0a2b0e36babcab40dc6ac786;p=thirdparty%2Fgettext.git Use RFC822 timezone format. --- diff --git a/misc/ChangeLog b/misc/ChangeLog index a857d0f3d..22c760933 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -2,6 +2,11 @@ * gettextize.in: Tell the user about glibc21.m4. +2001-05-09 Bruno Haible + + * po-mode.el (po-replace-revision-date): For the timezone, use RFC 822 + format [+/-]HHMM, not [+/-]HH:MM. Reported by Jan D. + 2001-04-19 Bruno Haible * gettext-0.10.37 released. diff --git a/misc/po-mode.el b/misc/po-mode.el index 2eed6efff..9061b0704 100644 --- a/misc/po-mode.el +++ b/misc/po-mode.el @@ -1019,7 +1019,7 @@ Position %d/%d; %d translated, %d fuzzy, %d untranslated, %d obsolete") (time (current-time)) (seconds (or (car (current-time-zone time)) 0)) (minutes (/ (abs seconds) 60)) - (zone (format "%c%02d:%02d" + (zone (format "%c%02d%02d" (if (< seconds 0) ?- ?+) (/ minutes 60) (% minutes 60))))