Closed kplaakso closed 10 years ago
Parsen vois laittaa uuteen DateParse.js moduliin ku ei liity formatointiin. Jaksaisitko refaktoroida vielä sen?
Karri-Pekka Laakso notifications@github.com kirjoitti:
Previously the parse method did not take locale into account, though it was sometimes called with it. The value in the input field is now parsed in the same format it is written. The parser handles only dates, not times, since the write formats are only for dates. You can merge this Pull Request by running:
git pull https://github.com/kplaakso/jquery-continuous-calendar master
Or you can view, comment on it, or merge it online at:
https://github.com/reaktor/jquery-continuous-calendar/pull/77
-- Commit Summary --
- Fix parsing localized input fields
-- File Changes --
M src/main/DateFormat.js (19) M src/main/SingleDateEvents.js (2) M src/main/jquery.continuousCalendar.js (2) M src/test/jquery.continuousCalendar.spec.js (6)
-- Patch Links --
https://github.com/reaktor/jquery-continuous-calendar/pull/77.patch https://github.com/reaktor/jquery-continuous-calendar/pull/77.diff
Reply to this email directly or view it on GitHub: https://github.com/reaktor/jquery-continuous-calendar/pull/77
Eero Anttila eea@iki.fi +358503590079
Refaktoroitu on.
Previously the parse method did not take locale into account, though it was sometimes called with it. The value in the input field is now parsed in the same format it is written. The parser handles only dates, not times, since the write formats are only for dates.