-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JS] - Parse a date in using the given format first and then try the default date parser #14692
Conversation
calixteman
commented
Mar 19, 2022
- it aims to fix Date fields with custom formats are filled with a value but the input display something else #14672.
…default date parser - it aims to fix mozilla#14672.
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/8e98be0ebb25ef7/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/1aa302fdf5c5625/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/8e98be0ebb25ef7/output.txt Total script time: 3.11 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/1aa302fdf5c5625/output.txt Total script time: 7.14 mins
|
/botio integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/4812488a0d38fa1/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/4416ed87215fe5f/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/4812488a0d38fa1/output.txt Total script time: 4.10 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/4416ed87215fe5f/output.txt Total script time: 7.48 mins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me, with one question; thank you!
year: 2000, | ||
month: 0, | ||
day: 0, | ||
day: 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these default values changed to match the Adobe JS specification, or simply to match the implementation in Adobe Reader?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened the pdf from the issue in Acrobat and the UI for the date selection is set to January 2000 for the day field and to the 1st of December 2000 for the month field.