Skip to content
Snippets Groups Projects
Commit c82ea326 authored by Ms2ger's avatar Ms2ger
Browse files

Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests.

parent 60b94676
No related branches found
No related tags found
No related merge requests found
...@@ -18,9 +18,9 @@ function always(s) { ...@@ -18,9 +18,9 @@ function always(s) {
// https://www.unicode.org/cldr/charts/33/summary/pl.html#1419 // https://www.unicode.org/cldr/charts/33/summary/pl.html#1419
const units = { const units = {
"second": always("s"), "second": always("sek."),
"minute": always("min"), "minute": always("min"),
"hour": always("g."), "hour": always("godz."),
"day": { "day": {
"many": "dni", "many": "dni",
"few": "dni", "few": "dni",
......
...@@ -28,9 +28,9 @@ function always(s) { ...@@ -28,9 +28,9 @@ function always(s) {
// https://www.unicode.org/cldr/charts/33/summary/pl.html#1419 // https://www.unicode.org/cldr/charts/33/summary/pl.html#1419
const units = { const units = {
"second": always("sek."), "second": always("s"),
"minute": always("min"), "minute": always("min"),
"hour": always("godz."), "hour": always("g."),
"day": { "day": {
"many": "dni", "many": "dni",
"few": "dni", "few": "dni",
...@@ -51,7 +51,7 @@ const units = { ...@@ -51,7 +51,7 @@ const units = {
}; };
const rtf = new Intl.RelativeTimeFormat("pl-PL", { const rtf = new Intl.RelativeTimeFormat("pl-PL", {
"style": "short", "style": "narrow",
}); });
assert.sameValue(typeof rtf.formatToParts, "function", "formatToParts should be supported"); assert.sameValue(typeof rtf.formatToParts, "function", "formatToParts should be supported");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment