Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 845 Bytes

datetime_utils.md

File metadata and controls

24 lines (14 loc) · 845 Bytes

Datetime Utils

Julep Python SDK Index / Julep / Api / Core / Datetime Utils

Auto-generated documentation for julep.api.core.datetime_utils module.

serialize_datetime

Show source in datetime_utils.py:6

Serialize a datetime including timezone info.

Uses the timezone info provided if present, otherwise uses the current runtime's timezone info.

UTC datetimes end in "Z" while all other timezones are represented as offset from UTC, e.g. +05:00.

Signature

def serialize_datetime(v: dt.datetime) -> str: ...