Skip to content

Commit

Permalink
tests update - node 16.X new defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
karczk-dnv committed Oct 4, 2022
1 parent 86e85d7 commit c198081
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __tests__/getDateFnsFormat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('getDateFnsFormat', () => {
["zh-HK", "days", "d'/'M'/'yyyy"],
["zh-HK", "seconds", "d'/'M'/'yyyy' 'Ah':'mm':'ss"],
["zh-HK", "minutes", "d'/'M'/'yyyy' 'Ah':'mm"],
["fr-CA", "seconds", "yyyy'-'MM'-'dd', 'HH' h 'mm' min 'ss' s'"],
["fr-CA", "seconds", "yyyy'-'MM'-'dd' 'HH' h 'mm' min 'ss' s'"],
["en-AU", "seconds", "dd'/'MM'/'yyyy', 'h':'mm':'ss' 'A"],
["ar-sa", "seconds", "dd'‏/'MM'‏/'yyyy' 'G' في 'h':'mm':'ss' 'A"]
];
Expand Down
2 changes: 1 addition & 1 deletion __tests__/getMomentFormat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('getMomentFormat', () => {
["zh-HK", "days", "D[/]M[/]YYYY"],
["zh-HK", "seconds", "D[/]M[/]YYYY[ ]Ah[:]mm[:]ss"],
["zh-HK", "minutes", "D[/]M[/]YYYY[ ]Ah[:]mm"],
["fr-CA", "seconds", "YYYY[-]MM[-]DD[, ]HH[ h ]mm[ min ]ss[ s]"],
["fr-CA", "seconds", "YYYY[-]MM[-]DD[ ]HH[ h ]mm[ min ]ss[ s]"],
["en-AU", "seconds", "DD[/]MM[/]YYYY[, ]h[:]mm[:]ss[ ]A"],
["ar-sa", "seconds", "DD[‏/]MM[‏/]YYYY[ ][ في ]h[:]mm[:]ss[ ]A"]
];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dnvgl/i18n",
"version": "1.7.0",
"version": "1.8.0",
"description": "A set of functions to support multiple languages/cultures in a browser or Node.js",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit c198081

Please sign in to comment.