Closed rodrigocarandina closed 5 years ago
Date.parse expects the date format as DD/MM/YYYY but when the user language is English the date format is MM/DD/YYYY. This causes an error. Function strptime and I18n should be used instead to deal with these internationalization issues.
Thanks! I will take a look.
Fixed with a similar but different way.
Thank you so much for the PR.
Date.parse expects the date format as DD/MM/YYYY but when the user language is English the date format is MM/DD/YYYY. This causes an error. Function strptime and I18n should be used instead to deal with these internationalization issues.