Does it work if you do a date like 10/10/19
?
I tried that but it does not work
How about 10/10/2019
?
Yes, I tried that too.
Yes meaning that it works or not? What is the value for the setting named default_locale
on your local instance and server?
Sorry, I tried it but it didn’t work when I entered 10/10/2019
into Date of Birth.
The default_locale
on my localhost is en_GB
, the same as on my AWS server.
What is the current system date on the server?
I changed the server timezone to my local timezone and tested it. But now I have changed the timezone back. Currently it is set to the location of the eu-west-1
server:
$ date
Fri Nov 1 14:43:10 GMT 2019
$ cat /etc/timezone
Europe/Dublin
Does it work if you selected the year, for the birthdate field, as 2018
?
In other words, that error will happen when you select a birth date after today’s (according to your system setting) date.
I see the post withdrawn. Did it finally work?
No, it is still not working.
I removed a post because I thought I found the solution but did not
I’m still struggling to find a solution to this issue. As I mentioned, everything seems to work fine locally so I cannot see the issue with moving to AWS. Does it validate the date on the front-end or does it send to API?
Can you paste at pastebin.com the AWS instance’s equivalent of the contents of this page? https://demo.openmrs.org/openmrs/admin/maintenance/serverLog.form
What is the system date on the computer whose browser you are using to access the AWS instance?
My local computer is in the EST timezone.
As a temporary work around, can you change the settings of the computer running your browser such that the year is displayed in full 2019
instead of 19
?
Here is the bug report: https://issues.openmrs.org/browse/SAD-47
Let me know if there is anything else I should add to the report.
As a temporary work around, can you change the settings of the computer running your browser such that the year is displayed in full 2019 instead of 19?
I tried from a Windows machine and a Linux machine and multiple different drivers. However, the issue still persists.
Are you able to get your browser display the full year of four digits instead of two?