Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ember-time-tools

lozjackson12MIT1.0.0

Time and date tools for Ember applications.

ember-addon, time-tools, input-date, input-time, date-picker, time-picker, calendar

readme

Ember-time-tools

This Ember-cli addon provides date and time related tools for Ember applications. The primary components consist of a date-picker, time-picker and a calendar.

Demo

http://lozjackson.github.io/ember-time-tools/

Installation

  • ember install ember-time-tools

Use

DatePicker

Create a DatePickerComponent using the following example:

{{date-picker selectedDate=selectedDate select="select"}}

You can use the InputDateComponent to create a html input element and a DatePickerComponent in one.

{{input-date value=date}}

TimePicker

Create a TimePickerComponent using the following example:

{{time-picker selectedTime=selectedTime select="select"}}

You can use the InputTimeComponent to create a html input element and a TimePickerComponent in one.

{{input-time value=time}}

Calendar

You can create a CalendarMonthComponent using the following example:

{{calendar-month events=model}}

Compatibility

Ember version ^2.0 is required for this addon to function correctly. Ember v1.x is not supported.

changelog

CHANGELOG

v1.0.0 2018-04-15

  • #42 Update Ember-cli to 2.18.2

v0.8.1 2017-05-03

  • #39 Rename container to avoid naming collisions.

  • #37 Update Ember-cli to 2.12.1

v0.8.0 2017-03-02

  • #36 Update dependencies.

  • #34 DatePickerComponent and TimePickerComponent should re-use selected value.

v0.7.0 2017-01-27

  • #30 Update TimePickerComponent header

  • #29 [FEATURE] Add date-picker to CalendarMonthComponent.

  • #28 Add Ember-cli-moment-shim dependency.

  • #27 Update dependencies.

  • #26 Update Ember-cli to 2.11.0

v0.6.0 2017-01-02

  • #25 Update CalendarMonthComponent.

  • #24 Update Ember-ui-components dependency to ^0.11.0

v0.5.0 2016-11-25

  • #23 Update DatePickerComponent css styles.

  • #21 [FEATURE] The DatePickerComponent now offers a list of months and years to select from.

  • #22 Update Ember-ui-components dependency to ^0.10.0

v0.4.0 2016-11-06

  • #20 Add scrollToSelectedTime property to TimePickerComponent.

  • #18 [FEATURE] Add SetPositionMixin

  • #18 [FEATURE] Add ember-wormhole component to InputDateComponent and InputTimeComponent.

  • #16 Add support for the placeholder attribute to InputDateComponent and InputTimeComponent.

  • #18 Update Ember-ui-components dependency to ^0.9.2

  • #19 Update to Ember-cli 2.8.0

v0.3.0 2016-10-05

  • #14 Add format property to InputDateComponent and InputTimeComponent.

  • #13 InputDateComponent and InputTimeComponent now accept disabled attribute.

  • #12 [BUGFIX] input components now allow empty values.

v0.2.2 2016-09-12

  • 5 Replace Ember.Handlebars.SafeString with Ember.String.htmlSafe.

v0.2.1 2016-09-03

  • [BUGFIX] Fix an issue that could cause the nextMonth() method to skip a month.

  • Add Phantomjs dev-dependency.

  • Configure Ember-try to include Ember versions ~2.0.0 and ~2.4.0 (LTS).

  • Update to Ember-cli 2.7.0

v0.2.0 2016-08-12

  • [FEATURE] Add timeInterval property to the TimePickerComponent.

  • [FEATURE] Add displayFormat property to the TimePickerComponent.

  • Add timeInterval and pickerDisplayFormat properties to the InputTimeComponent.

  • Update the TimePickerComponent to refactor away from using a component for every time slot.

  • Remove TimeSlotComponent

v0.1.0 2016-06-26

  • [FEATURE] Add displayFormat property to InputDateComponent and InputTimeComponent.

  • [FEATURE] Update FormatDateHelper to allow passing in custom format strings.

  • [FEATURE] When clicking outside the DatePickerComponent or TimePickerComponent the close action is triggered.

v0.0.1 2016-06-26

Initial release