Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

lita-time

Build Status Coverage Status

lita-time is a handler for Lita that uses the World Weather Online Time Zone API to look up local time in a given location.

Installation

Add lita-time to your Lita instance's Gemfile:

gem "lita-time"

Configuration

Required attributes

Example

Lita.configure do |config|
  config.handlers.time.apikey = "abcdef1234567890fedcba0987654321"
end

Usage

Usage

You can look up the locale lime of a location using many diferent forms:

Lita: time Mableton, GA
Lita: time in Mableton, GA
Lita: what time in Mableton, GA
Lita: what time is it in Mableton, GA

The location names that supported by the API are:

  • City and Town Names
  • IP Address
  • UK Postcode
  • Canada Postal Code
  • US Zipcode
  • Aiport code (IATA)
  • Latitude and Longitude (in decimal)

Acknowledgements

License

MIT

About

Local time handler for Lita (lita.io)

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.