Skip to content

Commit 553c095

Browse files
scaleway-botphilibea
authored andcommitted
chore: add changeset renovate-0860987
Signed-off-by: Alexandre Philibeaux <[email protected]>
1 parent bf10a7b commit 553c095

File tree

2 files changed

+50
-45
lines changed

2 files changed

+50
-45
lines changed

.changeset/renovate-0860987.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@scaleway/use-growthbook': patch
3+
---
4+
5+
Updated dependency `@growthbook/growthbook-react` to `1.2.1`.

packages/use-i18n/src/__tests__/__snapshots__/formatDate.test.ts.snap

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -6,55 +6,55 @@ exports[`formatDate > should return passed object if not valid date 1`] = `
66
}
77
`;
88

9-
exports[`formatDate > should work with custom format and locale de 1`] = `"Donnerstag, 13. F 20 n. Chr., 16:28:00 Koordinierte Weltzeit"`;
9+
exports[`formatDate > should work with custom format and locale de 1`] = `"Donnerstag, 13. F 20 n. Chr., 16:28:00 Mitteleuropäische Normalzeit"`;
1010

11-
exports[`formatDate > should work with custom format and locale de 2`] = `"Donnerstag, 13. F 20 n. Chr., 15:28:00 Koordinierte Weltzeit"`;
11+
exports[`formatDate > should work with custom format and locale de 2`] = `"Donnerstag, 13. F 20 n. Chr., 16:28:00 Mitteleuropäische Normalzeit"`;
1212

13-
exports[`formatDate > should work with custom format and locale de 3`] = `"Donnerstag, 13. F 20 n. Chr., 15:28:00 Koordinierte Weltzeit"`;
13+
exports[`formatDate > should work with custom format and locale de 3`] = `"Donnerstag, 13. F 20 n. Chr., 16:28:00 Mitteleuropäische Normalzeit"`;
1414

15-
exports[`formatDate > should work with custom format and locale en 1`] = `"Thursday, F 13, 20 AD, 04:28:00 PM Coordinated Universal Time"`;
15+
exports[`formatDate > should work with custom format and locale en 1`] = `"Thursday, F 13, 20 AD, 04:28:00 PM Central European Standard Time"`;
1616

17-
exports[`formatDate > should work with custom format and locale en 2`] = `"Thursday, F 13, 20 AD, 03:28:00 PM Coordinated Universal Time"`;
17+
exports[`formatDate > should work with custom format and locale en 2`] = `"Thursday, F 13, 20 AD, 04:28:00 PM Central European Standard Time"`;
1818

19-
exports[`formatDate > should work with custom format and locale en 3`] = `"Thursday, F 13, 20 AD, 03:28:00 PM Coordinated Universal Time"`;
19+
exports[`formatDate > should work with custom format and locale en 3`] = `"Thursday, F 13, 20 AD, 04:28:00 PM Central European Standard Time"`;
2020

21-
exports[`formatDate > should work with custom format and locale es 1`] = `"jueves, 13 F 20 d. C., 16:28:00 (tiempo universal coordinado)"`;
21+
exports[`formatDate > should work with custom format and locale es 1`] = `"jueves, 13 F 20 d. C., 16:28:00 (hora estándar de Europa central)"`;
2222

23-
exports[`formatDate > should work with custom format and locale es 2`] = `"jueves, 13 F 20 d. C., 15:28:00 (tiempo universal coordinado)"`;
23+
exports[`formatDate > should work with custom format and locale es 2`] = `"jueves, 13 F 20 d. C., 16:28:00 (hora estándar de Europa central)"`;
2424

25-
exports[`formatDate > should work with custom format and locale es 3`] = `"jueves, 13 F 20 d. C., 15:28:00 (tiempo universal coordinado)"`;
25+
exports[`formatDate > should work with custom format and locale es 3`] = `"jueves, 13 F 20 d. C., 16:28:00 (hora estándar de Europa central)"`;
2626

27-
exports[`formatDate > should work with custom format and locale fr 1`] = `"jeudi 13 F 20 ap. J.-C. 16:28:00 temps universel coordonné"`;
27+
exports[`formatDate > should work with custom format and locale fr 1`] = `"jeudi 13 F 20 ap. J.-C. 16:28:00 heure normale d’Europe centrale"`;
2828

29-
exports[`formatDate > should work with custom format and locale fr 2`] = `"jeudi 13 F 20 ap. J.-C. 15:28:00 temps universel coordonné"`;
29+
exports[`formatDate > should work with custom format and locale fr 2`] = `"jeudi 13 F 20 ap. J.-C. 16:28:00 heure normale d’Europe centrale"`;
3030

31-
exports[`formatDate > should work with custom format and locale fr 3`] = `"jeudi 13 F 20 ap. J.-C. 15:28:00 temps universel coordonné"`;
31+
exports[`formatDate > should work with custom format and locale fr 3`] = `"jeudi 13 F 20 ap. J.-C. 16:28:00 heure normale d’Europe centrale"`;
3232

33-
exports[`formatDate > should work with custom format and locale ro 1`] = `"joi, 13 F 20 d.Hr., 16:28:00 Timpul universal coordonat"`;
33+
exports[`formatDate > should work with custom format and locale ro 1`] = `"joi, 13 F 20 d.Hr., 16:28:00 Ora standard a Europei Centrale"`;
3434

35-
exports[`formatDate > should work with custom format and locale ro 2`] = `"joi, 13 F 20 d.Hr., 15:28:00 Timpul universal coordonat"`;
35+
exports[`formatDate > should work with custom format and locale ro 2`] = `"joi, 13 F 20 d.Hr., 16:28:00 Ora standard a Europei Centrale"`;
3636

37-
exports[`formatDate > should work with custom format and locale ro 3`] = `"joi, 13 F 20 d.Hr., 15:28:00 Timpul universal coordonat"`;
37+
exports[`formatDate > should work with custom format and locale ro 3`] = `"joi, 13 F 20 d.Hr., 16:28:00 Ora standard a Europei Centrale"`;
3838

39-
exports[`formatDate > should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "de" 1`] = `"13. Februar 2020 um 15:28"`;
39+
exports[`formatDate > should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "de" 1`] = `"13. Februar 2020 um 16:28"`;
4040

41-
exports[`formatDate > should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"February 13, 2020 at 3:28 PM"`;
41+
exports[`formatDate > should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"February 13, 2020 at 4:28 PM"`;
4242

43-
exports[`formatDate > should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "es" 1`] = `"13 de febrero de 2020, 15:28"`;
43+
exports[`formatDate > should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "es" 1`] = `"13 de febrero de 2020, 16:28"`;
4444

45-
exports[`formatDate > should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "fr" 1`] = `"13 février 2020 à 15:28"`;
45+
exports[`formatDate > should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "fr" 1`] = `"13 février 2020 à 16:28"`;
4646

47-
exports[`formatDate > should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "ro" 1`] = `"13 februarie 2020 la 15:28"`;
47+
exports[`formatDate > should work with format "hour", for date = "2020-02-13T15:28:00.000Z" and locale "ro" 1`] = `"13 februarie 2020 la 16:28"`;
4848

49-
exports[`formatDate > should work with format "hour", for date = "1581607680000" and locale "de" 1`] = `"13. Februar 2020 um 15:28"`;
49+
exports[`formatDate > should work with format "hour", for date = "1581607680000" and locale "de" 1`] = `"13. Februar 2020 um 16:28"`;
5050

51-
exports[`formatDate > should work with format "hour", for date = "1581607680000" and locale "en" 1`] = `"February 13, 2020 at 3:28 PM"`;
51+
exports[`formatDate > should work with format "hour", for date = "1581607680000" and locale "en" 1`] = `"February 13, 2020 at 4:28 PM"`;
5252

53-
exports[`formatDate > should work with format "hour", for date = "1581607680000" and locale "es" 1`] = `"13 de febrero de 2020, 15:28"`;
53+
exports[`formatDate > should work with format "hour", for date = "1581607680000" and locale "es" 1`] = `"13 de febrero de 2020, 16:28"`;
5454

55-
exports[`formatDate > should work with format "hour", for date = "1581607680000" and locale "fr" 1`] = `"13 février 2020 à 15:28"`;
55+
exports[`formatDate > should work with format "hour", for date = "1581607680000" and locale "fr" 1`] = `"13 février 2020 à 16:28"`;
5656

57-
exports[`formatDate > should work with format "hour", for date = "1581607680000" and locale "ro" 1`] = `"13 februarie 2020 la 15:28"`;
57+
exports[`formatDate > should work with format "hour", for date = "1581607680000" and locale "ro" 1`] = `"13 februarie 2020 la 16:28"`;
5858

5959
exports[`formatDate > should work with format "hour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "de" 1`] = `"13. Februar 2020 um 16:28"`;
6060

@@ -66,25 +66,25 @@ exports[`formatDate > should work with format "hour", for date = "new Date(2020,
6666

6767
exports[`formatDate > should work with format "hour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "ro" 1`] = `"13 februarie 2020 la 16:28"`;
6868

69-
exports[`formatDate > should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "de" 1`] = `"15:28"`;
69+
exports[`formatDate > should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "de" 1`] = `"16:28"`;
7070

71-
exports[`formatDate > should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"3:28 PM"`;
71+
exports[`formatDate > should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"4:28 PM"`;
7272

73-
exports[`formatDate > should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "es" 1`] = `"15:28"`;
73+
exports[`formatDate > should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "es" 1`] = `"16:28"`;
7474

75-
exports[`formatDate > should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "fr" 1`] = `"15:28"`;
75+
exports[`formatDate > should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "fr" 1`] = `"16:28"`;
7676

77-
exports[`formatDate > should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "ro" 1`] = `"15:28"`;
77+
exports[`formatDate > should work with format "hourOnly", for date = "2020-02-13T15:28:00.000Z" and locale "ro" 1`] = `"16:28"`;
7878

79-
exports[`formatDate > should work with format "hourOnly", for date = "1581607680000" and locale "de" 1`] = `"15:28"`;
79+
exports[`formatDate > should work with format "hourOnly", for date = "1581607680000" and locale "de" 1`] = `"16:28"`;
8080

81-
exports[`formatDate > should work with format "hourOnly", for date = "1581607680000" and locale "en" 1`] = `"3:28 PM"`;
81+
exports[`formatDate > should work with format "hourOnly", for date = "1581607680000" and locale "en" 1`] = `"4:28 PM"`;
8282

83-
exports[`formatDate > should work with format "hourOnly", for date = "1581607680000" and locale "es" 1`] = `"15:28"`;
83+
exports[`formatDate > should work with format "hourOnly", for date = "1581607680000" and locale "es" 1`] = `"16:28"`;
8484

85-
exports[`formatDate > should work with format "hourOnly", for date = "1581607680000" and locale "fr" 1`] = `"15:28"`;
85+
exports[`formatDate > should work with format "hourOnly", for date = "1581607680000" and locale "fr" 1`] = `"16:28"`;
8686

87-
exports[`formatDate > should work with format "hourOnly", for date = "1581607680000" and locale "ro" 1`] = `"15:28"`;
87+
exports[`formatDate > should work with format "hourOnly", for date = "1581607680000" and locale "ro" 1`] = `"16:28"`;
8888

8989
exports[`formatDate > should work with format "hourOnly", for date = "new Date(2020, 1, 13, 16, 28)" and locale "de" 1`] = `"16:28"`;
9090

@@ -156,25 +156,25 @@ exports[`formatDate > should work with format "numeric", for date = "new Date(20
156156

157157
exports[`formatDate > should work with format "numeric", for date = "new Date(2020, 1, 13, 16, 28)" and locale "ro" 1`] = `"2020-02-13"`;
158158

159-
exports[`formatDate > should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "de" 1`] = `"2020-02-13 15:28"`;
159+
exports[`formatDate > should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "de" 1`] = `"2020-02-13 16:28"`;
160160

161-
exports[`formatDate > should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"2020-02-13 3:28 PM"`;
161+
exports[`formatDate > should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "en" 1`] = `"2020-02-13 4:28 PM"`;
162162

163-
exports[`formatDate > should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "es" 1`] = `"2020-02-13 15:28"`;
163+
exports[`formatDate > should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "es" 1`] = `"2020-02-13 16:28"`;
164164

165-
exports[`formatDate > should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "fr" 1`] = `"2020-02-13 15:28"`;
165+
exports[`formatDate > should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "fr" 1`] = `"2020-02-13 16:28"`;
166166

167-
exports[`formatDate > should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "ro" 1`] = `"2020-02-13 15:28"`;
167+
exports[`formatDate > should work with format "numericHour", for date = "2020-02-13T15:28:00.000Z" and locale "ro" 1`] = `"2020-02-13 16:28"`;
168168

169-
exports[`formatDate > should work with format "numericHour", for date = "1581607680000" and locale "de" 1`] = `"2020-02-13 15:28"`;
169+
exports[`formatDate > should work with format "numericHour", for date = "1581607680000" and locale "de" 1`] = `"2020-02-13 16:28"`;
170170

171-
exports[`formatDate > should work with format "numericHour", for date = "1581607680000" and locale "en" 1`] = `"2020-02-13 3:28 PM"`;
171+
exports[`formatDate > should work with format "numericHour", for date = "1581607680000" and locale "en" 1`] = `"2020-02-13 4:28 PM"`;
172172

173-
exports[`formatDate > should work with format "numericHour", for date = "1581607680000" and locale "es" 1`] = `"2020-02-13 15:28"`;
173+
exports[`formatDate > should work with format "numericHour", for date = "1581607680000" and locale "es" 1`] = `"2020-02-13 16:28"`;
174174

175-
exports[`formatDate > should work with format "numericHour", for date = "1581607680000" and locale "fr" 1`] = `"2020-02-13 15:28"`;
175+
exports[`formatDate > should work with format "numericHour", for date = "1581607680000" and locale "fr" 1`] = `"2020-02-13 16:28"`;
176176

177-
exports[`formatDate > should work with format "numericHour", for date = "1581607680000" and locale "ro" 1`] = `"2020-02-13 15:28"`;
177+
exports[`formatDate > should work with format "numericHour", for date = "1581607680000" and locale "ro" 1`] = `"2020-02-13 16:28"`;
178178

179179
exports[`formatDate > should work with format "numericHour", for date = "new Date(2020, 1, 13, 16, 28)" and locale "de" 1`] = `"2020-02-13 16:28"`;
180180

0 commit comments

Comments
 (0)