Take me over?
The maintainer of this distribution is looking for someone to take over!
If you're interested then please contact them via
email.
NAME
App::Cerberus::Plugin::TimeZone - Add time-zone information to App::Cerberus
VERSION
version 0.11
DESCRIPTION
This plugin uses Time::OlsonTZ::Data to add time-zone information to Cerberus. For instance:
"tz": {
"short_name": "EDT",
"name": "America/New_York",
"dst": "1",
"gmt_offset": "-14400"
}
The time-zone is deduced from the IP address, via Geo::IP.
REQUEST PARAMS
Time zone information is returned when an IPv4 address is passed in:
curl http://host:port/?ip=80.1.2.3
CONFIGURATION
The GeoIP plugin must be loaded before this plugin. This plugin takes no configuration options:
plugins:
- GeoIP: /opt/geoip/GeoLiteCity.dat
- TimeZone
AUTHOR
Clinton Gormley <drtech@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Clinton Gormley.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.