Skip to content

Commit a1f90b7

Browse files
committed
Add A Test
1 parent ea490a1 commit a1f90b7

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

tests/data/Style/NumberFormatDates.php

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,32 @@
88
22269.0625,
99
'dd-mm-yyyy hh:mm:ss',
1010
],
11-
// Oasis uses upper-case
12-
[
11+
'Oasis uses upper-case' => [
1312
'12/19/1960 01:30:00',
1413
22269.0625,
1514
'MM/DD/YYYY HH:MM:SS',
1615
],
17-
// Date with plaintext escaped with a \
18-
[
16+
'plaintext escaped with backslash' => [
1917
'1960-12-19T01:30:00',
2018
22269.0625,
2119
'yyyy-mm-dd\Thh:mm:ss',
2220
],
23-
// Date with plaintext in quotes
24-
[
21+
'plaintext in quotes' => [
2522
'1960-12-19T01:30:00 Z',
2623
22269.0625,
2724
'yyyy-mm-dd"T"hh:mm:ss \Z',
2825
],
29-
// Date with quoted formatting characters
30-
[
26+
'quoted formatting characters' => [
3127
'y-m-d 1960-12-19 h:m:s 01:30:00',
3228
22269.0625,
3329
'"y-m-d" yyyy-mm-dd "h:m:s" hh:mm:ss',
3430
],
35-
// Date with quoted formatting characters
36-
[
37-
'y-m-d 1960-12-19 h:m:s 01:30:00',
31+
'quoted formatting non-ascii characters' => [
32+
'§1960-12-19',
3833
22269.0625,
39-
'"y-m-d "yyyy-mm-dd" h:m:s "hh:mm:ss',
34+
'"§"yyyy-mm-dd',
4035
],
41-
// Date with fractional/decimal time
42-
[
36+
'fractional/decimal time' => [
4337
'2023/02/28 0:00:00.000',
4438
44985,
4539
'yyyy/mm/dd\ h:mm:ss.000',

0 commit comments

Comments
 (0)