0.0.2 • Published 8 years ago

has-timezone v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

has-timezone

Check whether a string ends with timezone. Long live the micro-package.

Installation

$ npm install --save has-timezone

Usage

var hasTimezone = require('has-timezone');

hasTimezone('asdf'); // false
hasTimezone('2010-01-01T00:00:00'); // false
hasTimezone('2010-01-01T00:00:00+00:00'); // true
hasTimezone('2010-01-01T00:00:00-0800'); // true

License

MIT