ember-timezone-input

0.1.6 • Public • Published

Ember-timezone-input

Checkout demo at:

https://foxnewsnetwork.github.io/ember-timezone-input

warning: it works, but it's pretty alpha and not super-well tested, use at your own peril!

{{em-timezone-input value=value}}

This is essentially a select with a picture of the earth over it

Build the application for a dummy test, otherwise, it's pretty much this thing:

http://momentjs.com/timezone/

except as a form select input.

If you're seeing CSRP warnings regarding inline-styles, add the following:

contentSecurityPolicy: { 
  "style-src": "'self' 'unsafe-inline' *",
},

To your config/environment.js

You'll need to either import the scss file into your app like so:

@import "ember-timezone-input";

Or configure your setup to import the dummy css file:

app.import("vendor/ember-timezone-input.css");

To properly style the thing (don't do both).

Usage

This is built on ember 1.13, I know it works there, but I have no idea if it will work on an earlier version or not (lol sorry). Install with:

ember install ember-timezone-input

Requires ember-moment, ember-cpm, ember-truth-helpers.

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Package Sidebar

Install

npm i ember-timezone-input

Weekly Downloads

3

Version

0.1.6

License

MIT

Last publish

Collaborators

  • foxnewsnetwork