From: Bruno Haible Date: Wed, 9 May 2001 17:13:48 +0000 (+0000) Subject: Fix the timezone format in the PO-Revision-Date. X-Git-Tag: v0.11~731 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d0d01294ad88ed4a1a6441cbf3646d93d49ff74;p=thirdparty%2Fgettext.git Fix the timezone format in the PO-Revision-Date. --- diff --git a/misc/ChangeLog b/misc/ChangeLog index 21d60e13a..3f9541399 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,8 @@ +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))))