send-later icon indicating copy to clipboard operation
send-later copied to clipboard

Danish SugarJS and Danish JavaScript date renderer disagree about date format

Open jikamens opened this issue 4 years ago • 0 comments

When a date is rendered in Danish by the JavaScript date renderer, it looks like this: 28. maj 2020 12:41. Note the period after the day of the month.

That period confuses SugarJS and it fails to parse the date.

As a result, if a Danish user picks a date using the date/time picker widget, then the date that subsequently gets inserted into the text box can't be parsed by SugarJS, so the "Send at" button doesn't become clickable.

Either we need to change how these dates are rendered, or we need to make the parser able to parse dates with periods after the day of the month.

jikamens avatar May 28 '20 14:05 jikamens