* schedule alpha major fixes * Fix shift update for web schedules * Fix priority level regex, fix getting shifts without duration * Fix shift update for web schedules * Fix tests for shift update * Fix priority level test * schedule alpha fixes * add final schedule click handler * fix date time picker * fix utc timzeonr time picker * fix utc time data * dont use user timezone on start Co-authored-by: Julia <ferril.darkdiver@gmail.com>
14 lines
443 B
Python
14 lines
443 B
Python
import re
|
|
|
|
ICAL_DATETIME_START = "DTSTART"
|
|
ICAL_DATETIME_END = "DTEND"
|
|
ICAL_DATETIME_STAMP = "DTSTAMP"
|
|
ICAL_SUMMARY = "SUMMARY"
|
|
ICAL_DESCRIPTION = "DESCRIPTION"
|
|
ICAL_ATTENDEE = "ATTENDEE"
|
|
ICAL_UID = "UID"
|
|
ICAL_RRULE = "RRULE"
|
|
ICAL_UNTIL = "UNTIL"
|
|
RE_PRIORITY = re.compile(r"^\[L(\d+)\]")
|
|
RE_EVENT_UID_V1 = re.compile(r"amixr-([\w\d-]+)-U(\d+)-E(\d+)-S(\d+)")
|
|
RE_EVENT_UID_V2 = re.compile(r"oncall-([\w\d-]+)-PK([\w\d]+)-U(\d+)-E(\d+)-S(\d+)")
|