Skip to content

Angular datetime directive that supports ranges

License

Notifications You must be signed in to change notification settings

sprattek/ez-datetime

 
 

Repository files navigation

ez-datetime-picker

Angular datetime picker directive with range support.

Builds upon Dale Lotts' angular-bootstrap-datetimepicker directive.

##Demo View the DEMO.

##Usage

Datetime picker

<input type="text" ez-datetime-control ng-model="form.date" min-date="someMinDate" max-date="someMaxDate" config="someConfigOverridingObject"/>

Datetime range picker

<input type="text" ez-datetime-range-control from="form.startDate" to="form.dueDate" config="someConfigOverridingObject"/>

###Configuration

See Config Constant for options you can override via data attributes or with an object passed into the "config" attribute as shown above.

##Dependencies

  1. Moment.js

  2. Either

OR

About

Angular datetime directive that supports ranges

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 64.2%
  • CSS 23.3%
  • HTML 12.5%