Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify tokenParser tests to suit CLDR 46 #1680

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/datetime/tokenParse.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ test("DateTime.fromFormatExplain() parses zone correctly", () => {

test("DateTime.fromFormatExplain() parses localized string with numberingSystem correctly", () => {
const ex1 = DateTime.fromFormatExplain(
"೦೩-ಏಪ್ರಿಲ್-೨೦೧೯ ೧೨:೨೬:೦೭ ಅಪರಾಹ್ನ Asia/Calcutta",
"೦೩-ಏಪ್ರಿಲ್-೨೦೧೯ ೧೨:೨೬:೦೭ PM Asia/Calcutta",
"dd-MMMM-yyyy hh:mm:ss a z",
{ locale: "kn", numberingSystem: "knda" }
);
Expand Down Expand Up @@ -1087,7 +1087,7 @@ test("DateTime.fromFormatExplain() parses localized string with numberingSystem
expect(keyCount(ex15.result)).toBe(6);

const ex16 = DateTime.fromFormatExplain(
"௦௩-ஏப்ரல்-௨௦௧௯ ௦௪:௦௦:௪௧ பிற்பகல்",
"௦௩-ஏப்ரல்-௨௦௧௯ ௦௪:௦௦:௪௧ PM",
"dd-MMMM-yyyy hh:mm:ss a",
{
locale: "ta",
Expand Down