A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS
Clone or download
#52 Compare This branch is 96 commits ahead, 5 commits behind dbushell:master.
Latest commit 7fc1a90 Aug 1, 2017

README.md

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