tyraeltong / timezones

A jQuery plugin to turn a select box into a timezone selector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Timezones

A jQuery plugin to turn a select box into a timezone selector

##Installation

###Bower

bower install timezones

###Manual Download

##Usage

Timezones is a simple plugin to populate a select element with Current Timezones.

Usage is really simple

$('select').timezones();

The plugin will try as well to guess your current timezone from Date.getTimezoneOffset

##Development

###Requirements

  • node and npm
  • bower npm install -g bower
  • grunt npm install -g grunt-cli

###Setup

  • npm install
  • bower install

###Run

grunt dev

or for just running tests on file changes:

grunt ci

###Tests

grunt mocha

About

A jQuery plugin to turn a select box into a timezone selector

License:MIT License


Languages

Language:JavaScript 99.1%Language:HTML 0.9%