Fixed #18767 -- Fixed Admin calendar for other locales than English

Refactored openCalendar function from DateTimeShortcuts.js. Now, when
entered manually in the input field, the date will show up correctly on
the calendar for locales that don't use "-" for separator.
alphabetize g before o
also I would combine with the "from" imports below