|
|
@@ -11,6 +11,8 @@ def _enrich(ev) -> dict:
|
|
|
xd = safe_json_loads(ev.x_data) or {}
|
|
|
xd['checkin_date'] = ev.start.date().isoformat()
|
|
|
xd['checkout_date'] = ev.end.date().isoformat()
|
|
|
+ xd['checkin_time'] = ev.start.strftime('%H:%M')
|
|
|
+ xd['checkout_time'] = ev.end.strftime('%H:%M')
|
|
|
return xd
|
|
|
|
|
|
|