Changeset 752
- Timestamp:
- 05/16/06 02:55:32
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Filter/RSSTimeZoneString.pm
r343 r752 55 55 0.91) feeds to a correct one. 56 56 57 Namely, when you create RSS feeds with POSIX C< strftime> function for57 Namely, when you create RSS feeds with POSIX C<ctime> function for 58 58 example, it'll create a following pubDate format if you're on the box 59 59 under Japanese standard time: … … 61 61 Fri, 03 Mar 2006 03:52:42 JST 62 62 63 which is invalid in RFC 822. (RFC 822 only allows timezone strings for64 North America, like PST and CST).63 which is B<invalid> in RFC 822. (RFC 822 only allows timezone strings 64 for North America, like PST and CST). 65 65 66 66 This plugin fixes the string to: 67 67 68 68 Fri, 03 Mar 2006 03:52:42 +0900 69 70 and the correct one is re-parsed and set to C<< $entry->date >>.71 69 72 70 =head1 AUTHOR … … 76 74 =head1 SEE ALSO 77 75 78 L<Plagger>, L<DateTime::Format::Mail>, L<Time::Zone> 76 L<Plagger>, L<DateTime::Format::Mail>, L<Time::Zone>, L<Plagger::Plugin::Filter::RSSLiberalDateTime> 79 77 80 78 =cut
