Skip to content

Commit

Permalink
[i18n]: replace LT -> p, L -> P in ar, fil, ka locales (#2797)
Browse files Browse the repository at this point in the history
Fixed `formatRelative` patterns in Georgian locale.
  • Loading branch information
leshakoss authored Nov 29, 2021
1 parent 95a978b commit 905ab37
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
12 changes: 6 additions & 6 deletions src/locale/fil/_lib/formatRelative/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
var formatRelativeLocale = {
lastWeek: '[last] dddd [at] LT',
yesterday: '[yesterday at] LT',
today: '[today at] LT',
tomorrow: '[tomorrow at] LT',
nextWeek: 'dddd [at] LT',
other: 'L'
lastWeek: '[last] dddd [at] p',
yesterday: '[yesterday at] p',
today: '[today at] p',
tomorrow: '[tomorrow at] p',
nextWeek: 'dddd [at] p',
other: 'P'
}

export default function formatRelative(token, _date, _baseDate, _options) {
Expand Down
12 changes: 6 additions & 6 deletions src/locale/ka/_lib/formatRelative/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
var formatRelativeLocale = {
lastWeek: "'წინა' eeee LT'-ზე'",
yesterday: "'გუშინ' LT'-ზე'",
today: "'დღეს' LT'-ზე'",
tomorrow: "'ხვალ' LT'-ზე'",
nextWeek: "'შემდეგი' eeee LT'-ზე'",
other: 'L'
lastWeek: "'წინა' eeee p'-ზე'",
yesterday: "'გუშინ' p'-ზე'",
today: "'დღეს' p'-ზე'",
tomorrow: "'ხვალ' p'-ზე'",
nextWeek: "'შემდეგი' eeee p'-ზე'",
other: 'P'
}

export default function formatRelative(token, _date, _baseDate, _options) {
Expand Down
18 changes: 9 additions & 9 deletions src/locale/ka/snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,12 @@ If now is January 1st, 2000, 00:00.

If now is January 1st, 2000, 00:00.

| Date | Result |
| ------------------------ | ---------------------------------- |
| 2000-01-10T00:00:00.000Z | 1 |
| 2000-01-05T00:00:00.000Z | შემდეგი ოთხშაბათი 1947030400000-ზე |
| 2000-01-02T00:00:00.000Z | ხვალ 1946771200000-ზე |
| 2000-01-01T00:00:00.000Z | დღეს 1946684800000-ზე |
| 1999-12-31T00:00:00.000Z | გუშინ 12946598400000-ზე |
| 1999-12-27T00:00:00.000Z | წინა ორშაბათი 12946252800000-ზე |
| 1999-12-21T00:00:00.000Z | 12 |
| Date | Result |
| ------------------------ | ----------------------------- |
| 2000-01-10T00:00:00.000Z | 10/01/2000 |
| 2000-01-05T00:00:00.000Z | შემდეგი ოთხშაბათი 12:00 AM-ზე |
| 2000-01-02T00:00:00.000Z | ხვალ 12:00 AM-ზე |
| 2000-01-01T00:00:00.000Z | დღეს 12:00 AM-ზე |
| 1999-12-31T00:00:00.000Z | გუშინ 12:00 AM-ზე |
| 1999-12-27T00:00:00.000Z | წინა ორშაბათი 12:00 AM-ზე |
| 1999-12-21T00:00:00.000Z | 21/12/1999 |

0 comments on commit 905ab37

Please sign in to comment.