pikaday-time
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/pikaday-time package

1.6.1 • Public • Published

Pikaday - With Time Picker

Key Config Changes

showTime: true
showMinutes: true
showSeconds: false
use24hour: false
incrementHourBy: 1
incrementMinuteBy: 1
incrementSecondBy: 1
autoClose: true
timeLabel: null // optional string added to left of time select
i18n: {
  en: {
    midnight: '', // Label for 0 AM
    noon: '', // Label for 12 AM
  }
}

Time support added to dbushell/Pikaday

This fork allows the user to specify the time along with their date. Done so by adding a couple select inputs to manipulate the date Pikaday is generating.

  • Used to set time aspects of date.
  • Will not change the currently selected date.
  • If no date is selected, will select today. Any of the arguments may be null, and will not affect the date.

Authors

Package Sidebar

Install

npm i pikaday-time

Weekly Downloads

1,659

Version

1.6.1

License

(0BSD OR MIT)

Last publish

Collaborators

  • owenmead