1.1.2 • Published 7 years ago

ng-utc-datepicker v1.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Angular UTC Datepicker

A simple Angular 1.x datepicker directive that exclusively uses UTC.

Install

  • npm: npm install --save ng-utc-datepicker
  • bower: bower install --save ng-utc-datepicker

Dependencies

  • Angular 1.x
  • MomentJS
  • Font Awesome

How to use

  • Inject 'es.ngUtcDatepicker' into your app
  • Add ng-utc-datepicker to an input tag
  • format option, for formatting date (and time, if necessary); defaults to 'YYYY-MM-DD'. Uses Moment formatting.
  • trigger option, for triggering the calendar with an external element such as a button or icon. Must be an element ID.

Live Demo

https://ericsvendsen.github.io/ng-utc-datepicker/

Examples

<input ng-utc-datepicker ng-model="vm.date"/>
<span id="icon" class="fa fa-calendar"></span>
<input ng-utc-datepicker data-trigger="icon" ng-model="vm.date"/>
<input ng-utc-datepicker data-format="MM/DD/YYYY HH:mm:ss" ng-model="vm.date"/>
1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago