We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf3a56d commit bdab209Copy full SHA for bdab209
src/schema/ext/time/local_converter.cr
@@ -17,7 +17,7 @@ struct Time
17
18
# Parse `Time` from an HTTP param as time timestamp.
19
def self.from_http_param(value : String) : Time
20
- Time.parse(time, FORMAT)
+ Time.parse(value, FORMAT, Time::Location::UTC)
21
rescue ArgumentError
22
raise TypeCastError.new
23
end
0 commit comments