Parameters: |
- datetime – datetime string
- tzone – (optional) timezone as a string (e.g. “Europe/Paris”),
by default it’s the current django timezone
- input_fmt – (optional) format of datetime param, if None then
the default Sahara API format (%Y-%m-%dT%H:%M:%S) will be used
- localize – (optional) if True then format of datetime will be
localized according to current timezone else it will be in
the default Sahara API format (%Y-%m-%dT%H:%M:%S)
|