File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ to-date: wrap [
61
61
any [string? value binary? value]
62
62
parse value [
63
63
5 skip
64
- copy day: 2 digit space
65
- copy month: 3 alpha space
66
- copy year: 4 digit space
64
+ copy day: 1 2 digit space
65
+ copy month: 3 alpha space
66
+ copy year: 1 4 digit space
67
67
copy time: to space space
68
68
copy zone: to end
69
69
]
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ Rebol [
124
124
--assert 28-Mar-2019/0:00 = to-date "Thu, 28 Mar 2019 00:00:00 +0000"
125
125
--assert 28-Mar-2019/0:00 = to-date to-binary "Thu, 28 Mar 2019 00:00:00 +0000"
126
126
--assert 4-Apr-2019/19:41:46 = to-date "Thu, 04 Apr 2019 19:41:46 GMT"
127
+ --assert 1-Apr-2019/21:50:04 = to-date "Mon, 1 Apr 2019 21:50:04 GMT"
127
128
128
129
129
130
===end-group===
You can’t perform that action at this time.
0 commit comments