Skip to content

Commit

Permalink
fix: Add Hawaiian date data (#230)
Browse files Browse the repository at this point in the history
* Add Hawaiian date data

* Add missing break;
  • Loading branch information
bearfriend authored Jan 16, 2025
1 parent 63aef4d commit 7b98cee
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/dateTime.js
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,18 @@ export function getDateTimeDescriptor() {
['D', 'L', 'M', 'M', 'J', 'V', 'S']
];
break;
case 'haw':
dateFormats = ['dddd, d MMMM yyyy', 'd MMM yyyy', 'd/M/yyyy', 'yyyy MMMM', 'd MMMM', 'd MMM'];
months = [
['Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', 'Kepakemapa', 'ʻOkakopa', 'Nowemapa', 'Kekemapa'],
['Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', 'Kek.']
];
days = [
['Lāpule', 'Poʻakahi', 'Poʻalua', 'Poʻakolu', 'Poʻahā', 'Poʻalima', 'Poʻaono'],
['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'],
['S', 'M', 'T', 'W', 'T', 'F', 'S']
];
break;
case 'hi':
dateFormats = ['dddd, d MMMM yyyy', 'd MMMM yyyy', 'dd-MM-yyyy', 'MMMM yyyy', 'd MMMM', 'd MMM'];
dayPeriods = ['पूर्वाह्न', 'अपराह्न'];
Expand Down

0 comments on commit 7b98cee

Please sign in to comment.