DateTimeUTC
Custom Datetime DB field to convert dae to UTC before saving it and return date as UTC when getting the DB
Functions
__init__
Initialize self. See help(type(self)) for accurate signature.
with_milliseconds :
bool - False adapt
value :
Any alias
alias :
Any asc
collation :
Any nulls :
Any between
lo :
Any hi :
Any bin_and
rhs :
Any bin_or
rhs :
Any bind
model :
Any name :
Any set_attribute :
bool - True bind_to
dest :
Any cast
as_type :
Any clone
coerce
_coerce :
bool - True collate
collation :
Any concat
rhs :
Any contains
rhs :
Any converter
db_value
value :
Any ddl
ctx :
Any ddl_datatype
ctx :
Any desc
collation :
Any nulls :
Any distinct
endswith
rhs :
Any get_modifiers
get_sort_key
ctx :
Any ilike
rhs :
Any in_
rhs :
Any iregexp
rhs :
Any is_alias
is_null
is_null :
bool - True like
rhs :
Any not_in
rhs :
Any python_value
value :
Any regexp
rhs :
Any startswith
rhs :
Any to_timestamp
to_value
value :
Any truncate
part :
Any unalias
unwrap
copy @staticmethod
method :
Any