Lines Matching refs:dt
3892 def datetime_to_ts(dt):
3893 """Take datetime object dt, and convert it to a ts in ISO-8601
3896 return dt.isoformat()
3898 def datetime_to_basic_ts(dt):
3899 """Take datetime object dt, and convert it to a ts in ISO-8601
3902 val = dt.isoformat()
3906 if not dt.tzname():
3911 def datetime_to_update_ts(dt):
3912 """Take datetime object dt, and convert it to a ts in ISO-8601
3915 val = dt.isoformat()
3921 if not dt.tzname():