From f0c0b72ed32e1121c2647cf8fb2dfdd495a3da94 Mon Sep 17 00:00:00 2001 From: hantatsang Date: Mon, 8 Feb 2021 20:23:38 +1100 Subject: [PATCH] feat(locale): add meridiem in ar languages --- src/locale/ar-dz.js | 1 + src/locale/ar-kw.js | 1 + src/locale/ar-ly.js | 1 + src/locale/ar-ma.js | 1 + src/locale/ar-sa.js | 1 + src/locale/ar-tn.js | 1 + 6 files changed, 6 insertions(+) diff --git a/src/locale/ar-dz.js b/src/locale/ar-dz.js index 8529a33d2..fdc5e0b86 100644 --- a/src/locale/ar-dz.js +++ b/src/locale/ar-dz.js @@ -17,6 +17,7 @@ const locale = { LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm' }, + meridiem: hour => (hour > 12 ? 'ص' : 'م'), relativeTime: { future: 'في %s', past: 'منذ %s', diff --git a/src/locale/ar-kw.js b/src/locale/ar-kw.js index 72a2b011d..23ad4be6c 100644 --- a/src/locale/ar-kw.js +++ b/src/locale/ar-kw.js @@ -17,6 +17,7 @@ const locale = { LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm' }, + meridiem: hour => (hour > 12 ? 'ص' : 'م'), relativeTime: { future: 'في %s', past: 'منذ %s', diff --git a/src/locale/ar-ly.js b/src/locale/ar-ly.js index b0d0982eb..6db397056 100644 --- a/src/locale/ar-ly.js +++ b/src/locale/ar-ly.js @@ -10,6 +10,7 @@ const locale = { monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), ordinal: n => n, + meridiem: hour => (hour > 12 ? 'ص' : 'م'), formats: { LT: 'HH:mm', LTS: 'HH:mm:ss', diff --git a/src/locale/ar-ma.js b/src/locale/ar-ma.js index 39b80ef98..802b71684 100644 --- a/src/locale/ar-ma.js +++ b/src/locale/ar-ma.js @@ -18,6 +18,7 @@ const locale = { LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm' }, + meridiem: hour => (hour > 12 ? 'ص' : 'م'), relativeTime: { future: 'في %s', past: 'منذ %s', diff --git a/src/locale/ar-sa.js b/src/locale/ar-sa.js index fd28501fc..9f908ade1 100644 --- a/src/locale/ar-sa.js +++ b/src/locale/ar-sa.js @@ -17,6 +17,7 @@ const locale = { LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm' }, + meridiem: hour => (hour > 12 ? 'ص' : 'م'), relativeTime: { future: 'في %s', past: 'منذ %s', diff --git a/src/locale/ar-tn.js b/src/locale/ar-tn.js index 99fcff2de..54c4e3e2d 100644 --- a/src/locale/ar-tn.js +++ b/src/locale/ar-tn.js @@ -18,6 +18,7 @@ const locale = { LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm' }, + meridiem: hour => (hour > 12 ? 'ص' : 'م'), relativeTime: { future: 'في %s', past: 'منذ %s',