Plagger::Plugin::Filter::RSSTimeZoneString(3)

NAME
Plagger::Plugin::Filter::RSSTimeZoneString - Fix bad RFC822 timezone string in RSS 2.0

SYNOPSIS
  - module: Filter::RSSTimeZoneString

DESCRIPTION
This plugin fixes a bad timezone string in pubDate of RSS 2.0 (or 0.91) feeds to a correct one.

Namely, when you create RSS feeds with POSIX "ctime" function for example, it'll create a following pubDate format if you're on the box under Japanese standard time:

  Fri, 03 Mar 2006 03:52:42 JST

which is invalid in RFC 822. (RFC 822 only allows timezone strings for North America, like PST and CST).

This plugin fixes the string to:

  Fri, 03 Mar 2006 03:52:42 +0900

AUTHOR
Tatsuhiko Miyagawa

SEE ALSO
Plagger, DateTime::Format::Mail, Time::Zone, Plagger::Plugin::Filter::RSSLiberalDateTime