Skip to content
This repository has been archived by the owner on Dec 15, 2017. It is now read-only.

1970-01-01 00:00:00 can't be entered manually #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lmar
Copy link

@lmar lmar commented Jun 6, 2013

If you enter the date 1970-01-01 and time 00:00:00 into the input field and then move the focus away from the input field the field gets emptied. This only happens when you type that date and time, not when you use the datetimepicker itself.

The bug is caused by function setValue(newDate) when the parameter newDate equals 0 (the integer representation of aforementioned date).

Fix bug that causes the input to get removed when date/time entered equals "1970-01-01 00:00:00 UTC" (beginning of unix epoch)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant