![]() |
![]()
| ![]() |
![]()
NAMEPlagger::Plugin::Filter::GuessTimeZoneByDomain - Guess timezone by domains if datetime is floating or UTC SYNOPSIS- module: Filter::GuessTimeZoneByDomain DESCRIPTIONThis plugin guesses feed date timezone by domains, if dates are floating or UTC. It uses the mapping table from ISO 3166 country code to timezones available in Olson database (hence requires DateTime::TimeZone 0.51). Optionally, if you have IP::Country module installed. This plugin also checks the country name which the host address is assigned to, instead of its domain name (ccTLD). For example, if the datetime is floating or UTC set in the feed of example.jp, it is resolved to Asia/Tokyo since its ccTLD is jp. In the case of www.asahi.com, ccTLD is null but the IP address is assigned to Japan, hence it is resolved to Asia/Tokyo as well. CONFIG
AUTHORTatsuhiko Miyagawa SEE ALSOPlagger, Plagger::Plugin::Filter::FloatingDateTime, DateTime::TimeZone
|