Skip to content

Commit

Permalink
feat(intl): override fr-CA date format (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuLaValva authored Jul 10, 2024
1 parent 9ee7232 commit b07c1a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/great-snakes-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": patch
---

Override fr-CA date formatting
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ delete output.ar._.d;
delete output.ar._.m;
delete output.ar._.y;
output.yo._.d = "ọ";
output.fr.ca._ = { w: 0 };

fs.writeFileSync(
"src/common/dates/locale-info.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/common/dates/locale-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default {
bi: { _: { w: 0 } },
bj: { _: { w: 0 } },
bl: { _: { w: 0 } },
ca: { _: { o: "ymd", s: ["-", "-"], w: 0 } },
ca: { _: { w: 0 } },
cd: { _: { w: 0 } },
cf: { _: { w: 0 } },
cg: { _: { w: 0 } },
Expand Down

0 comments on commit b07c1a3

Please sign in to comment.