* Correct generation of RFC 3339 format times for atom/rss feeds. Always use
gmtime for these since a time zone is not specified.master
parent
b610ca5cbf
commit
ef43bff1ca
|
@ -315,7 +315,7 @@ sub date_3339 ($) { #{{{
|
||||||
|
|
||||||
my $lc_time=POSIX::setlocale(&POSIX::LC_TIME);
|
my $lc_time=POSIX::setlocale(&POSIX::LC_TIME);
|
||||||
POSIX::setlocale(&POSIX::LC_TIME, "C");
|
POSIX::setlocale(&POSIX::LC_TIME, "C");
|
||||||
my $ret=POSIX::strftime("%Y-%m-%dT%H:%M:%SZ", localtime($time));
|
my $ret=POSIX::strftime("%Y-%m-%dT%H:%M:%SZ", gmtime($time));
|
||||||
POSIX::setlocale(&POSIX::LC_TIME, $lc_time);
|
POSIX::setlocale(&POSIX::LC_TIME, $lc_time);
|
||||||
return $ret;
|
return $ret;
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
|
@ -31,7 +31,11 @@ ikiwiki (2.7) UNRELEASED; urgency=low
|
||||||
`git-rev-parse --show-prefix` from all names reported by git-log.
|
`git-rev-parse --show-prefix` from all names reported by git-log.
|
||||||
Patch by Jamey Sharp
|
Patch by Jamey Sharp
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Tue, 28 Aug 2007 22:15:52 -0400
|
[ Joey Hess ]
|
||||||
|
* Correct generation of RFC 3339 format times for atom/rss feeds. Always use
|
||||||
|
gmtime for these since a time zone is not specified.
|
||||||
|
|
||||||
|
-- Joey Hess <joeyh@debian.org> Sun, 02 Sep 2007 15:25:36 -0400
|
||||||
|
|
||||||
ikiwiki (2.6.1) unstable; urgency=low
|
ikiwiki (2.6.1) unstable; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -6,3 +6,5 @@ created/modified at 0312 GMT.
|
||||||
This occurs in both RSS and Atom feeds, but not in the HTML pages (which
|
This occurs in both RSS and Atom feeds, but not in the HTML pages (which
|
||||||
suggests it's not the server at fault, or IkiWiki overall, but rather
|
suggests it's not the server at fault, or IkiWiki overall, but rather
|
||||||
whatever's generating the RSS and Atom is converting timezones wrongly).
|
whatever's generating the RSS and Atom is converting timezones wrongly).
|
||||||
|
|
||||||
|
> [[done]], I *think* (description was not entirely clear) --[[Joey]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-08-28 23:01-0400\n"
|
"POT-Creation-Date: 2007-08-29 12:43-0400\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|
Loading…
Reference in New Issue