Page MenuHomePhabricator

post T269265 datepicker does not read dates already saved with slashes
Closed, ResolvedPublic

Description

MW 1.34, PF master 12/3 including bug fix T269265

after T269265 datepicker does not read in existing date values that are saves as yyyy/mm/dd. datepicker in form shows blank date.

5.0 is almost working for us! Thanks in advance

/Rich

Event Timeline

What's an example of a date string that the datepicker can't read?

I can't reproduce that problem - for me, the "datepicker" input picks up the string "2020/12/08" fine (and then saves it as "2020-12-08"). What does the full field tag look like for that input?

I fetched and checked-out the latest from git on Dec 11, 2020 [1] and all our issues are resolved. Whatever you've done lately seems to have solved the issues. Legacy date formats are being handled by datepicker and the save button JS errors are gone. Thank you!

We don't have to debug this further for my part, but I see that there are a few recent commits relating to datepicker and page saving with hidden mandatory fields. Can you confirm if you have found and resolved some issues that are likely related to what I reported?

[1] https://github.com/wikimedia/mediawiki-extensions-PageForms/commit/75103fb454b5141dc14eb27e0a656028af4600ce

Great! I don't know the answer to that question - but if you find any additional issues, of course let me know.