updated time format
This commit is contained in:
@@ -1046,6 +1046,9 @@ data:
|
||||
"calendar": calendar_name,
|
||||
"start": occ.isoformat(),
|
||||
"start_unix": int(occ.timestamp()),
|
||||
"start_date": occ.strftime("%b %d"),
|
||||
"start_time": occ.strftime("%H:%M"),
|
||||
"start_weekday": occ.strftime("%a"),
|
||||
"end": occ_end.isoformat() if occ_end else None,
|
||||
"end_unix": int(occ_end.timestamp()) if occ_end else None,
|
||||
"is_all_day": is_all_day,
|
||||
@@ -1062,6 +1065,9 @@ data:
|
||||
"calendar": calendar_name,
|
||||
"start": dtstart_val.isoformat(),
|
||||
"start_unix": int(dtstart_val.timestamp()),
|
||||
"start_date": dtstart_val.strftime("%b %d"),
|
||||
"start_time": dtstart_val.strftime("%H:%M"),
|
||||
"start_weekday": dtstart_val.strftime("%a"),
|
||||
"end": dtend_val.isoformat() if dtend_val else None,
|
||||
"end_unix": int(dtend_val.timestamp()) if dtend_val else None,
|
||||
"is_all_day": is_all_day,
|
||||
@@ -1077,6 +1083,9 @@ data:
|
||||
"calendar": calendar_name,
|
||||
"start": dtstart_val.isoformat(),
|
||||
"start_unix": int(dtstart_val.timestamp()),
|
||||
"start_date": dtstart_val.strftime("%b %d"),
|
||||
"start_time": dtstart_val.strftime("%H:%M"),
|
||||
"start_weekday": dtstart_val.strftime("%a"),
|
||||
"end": dtend_val.isoformat() if dtend_val else None,
|
||||
"end_unix": int(dtend_val.timestamp()) if dtend_val else None,
|
||||
"is_all_day": is_all_day,
|
||||
|
||||
Reference in New Issue
Block a user