module Time::LocalConverter

Defined in:

schema/ext/time/local_converter.cr

Constant Summary

FORMAT = "%Y-%m-%dT%H:%M"

Class Method Summary

Class Method Detail

def self.from_http_param(value : String) : Time #

Parse Time from an HTTP param as time timestamp.


[View source]
def self.to_http_param(value : Time, builder : HTTP::Params::Builder, key : String) #

Put value as a time timestamp into the builder at key.


[View source]
def self.to_http_param(value : Time) #

Return value as a time timestamp string.


[View source]