File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,10 @@ with
162
162
union (
163
163
insert User:: Unavailability {
164
164
description := < str > unavailability[' description' ],
165
- dates := range (< cal :: local_date > unavailability[' start' ], < cal :: local_date > unavailability[' end' ])
165
+ dates := range (
166
+ to_datetime (< cal :: local_datetime >< cal :: local_date > unavailability[' start' ], ' America/Chicago' ),
167
+ to_datetime (< cal :: local_datetime >< cal :: local_date > unavailability[' end' ], ' America/Chicago' )
168
+ )
166
169
}
167
170
)
168
171
)
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ module User {
42
42
43
43
type Unavailability extending default :: Resource {
44
44
required description: str ;
45
- required dates: range < cal :: local_date > ;
45
+ required dates: range < datetime > ;
46
46
}
47
47
48
48
scalar type Status extending enum < Active, Disabled> ;
You can’t perform that action at this time.
0 commit comments