From d2dc94017e7a149409b4ed6d764b5e181eda471d Mon Sep 17 00:00:00 2001 From: Reyo Stallenberg Date: Thu, 24 Aug 2023 13:06:39 +0200 Subject: [PATCH] PM and AM in dutch See https://nl.wikipedia.org/wiki/12-uursnotatie which states "In het Nederlands spreekt men ook van voormiddag en namiddag (v.m. en n.m. of vm en nm)." which means "In Dutch people also speak of morning (voormiddag) and afternoon (namiddag) (v.m. and n.m. or vm and pm)." --- locale/nl.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/locale/nl.js b/locale/nl.js index 770e90fe9e..73bcdcb96e 100644 --- a/locale/nl.js +++ b/locale/nl.js @@ -63,6 +63,13 @@ weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), weekdaysParseExact: true, + meridiemParse: /vm|nm/, + isPM: function (input) { + return input.charAt(0) === 'n'; + }, + meridiem: function (hours, minutes, isLower) { + return hours < 12 ? 'vm' : 'nm'; + }, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss',