Changeset 1791

Show
Ignore:
Timestamp:
10/23/06 13:48:38
Author:
miyagawa
Message:

Filter::GuessTimeZoneByDomain?: bump up DateTime?::TimeZone? deps

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/deps/Filter-GuessTimeZoneByDomain.yaml

    r1743 r1791  
    22author: Tatsuhiko Miyagawa 
    33depends: 
    4   DateTime::TimeZone: 0.51 
     4  DateTime::TimeZone: 0.52 
    55  IP::Country: 0 
  • trunk/plagger/t/plugins/Filter-GuessTimeZoneByDomain/base.t

    r1758 r1791  
    6060is $context->update->feeds->[0]->entries->[0]->date->time_zone->name, "Asia/Seoul"; 
    6161 
     62=== UK is now aliased 
     63--- input config 
     64plugins: 
     65  - module: CustomFeed::Debug 
     66    config: 
     67      title: Foo 
     68      entry: 
     69        - link: http://www.time.co.uk/ 
     70          date: 2006/10/14 12:00:00 
     71  - module: Filter::GuessTimeZoneByDomain 
     72    config: 
     73      use_ip_country: 0 
     74--- expected 
     75is $context->update->feeds->[0]->entries->[0]->date->time_zone->name, "Europe/London"; 
     76 
    6277=== Don't use IP::Country 
    6378--- input config 
     
    6782      title: Foo 
    6883      entry: 
    69         - link: http://www.time.co.uk
     84        - link: http://www.ohmynews.com
    7085          date: 2006/10/14 12:00:00 
    7186  - module: Filter::GuessTimeZoneByDomain