Closed Petri-Oosthuizen closed 9 months ago
The en-gb locale file's dateFormat entry (yy/mm/dd) differs from the standard JavaScript toLocaleDateString("en-GB") method among other sources.
toLocaleDateString("en-GB")
new Date().toLocaleDateString("en-GB") // dd/mm/yy new Intl.DateTimeFormat("en-GB").format(new Date()) // dd/mm/yy
Other sources: Wikipedia - Date and Time Notation in the United Kingdom Oracle Documentation - Date and Time Formats in the United Kingdom DateTime::Locale - DateTime::Locale::en_GB
Original PR: https://github.com/primefaces/primelocale/pull/65
The en-gb locale file's dateFormat entry (yy/mm/dd) differs from the standard JavaScript
toLocaleDateString("en-GB")
method among other sources.Other sources: Wikipedia - Date and Time Notation in the United Kingdom Oracle Documentation - Date and Time Formats in the United Kingdom DateTime::Locale - DateTime::Locale::en_GB
Original PR: https://github.com/primefaces/primelocale/pull/65