Initial commit - production deployment

This commit is contained in:
2026-01-21 17:17:16 +01:00
commit c23d00dd92
2289 changed files with 638440 additions and 0 deletions

33
shared/dt_utils/constants.py Executable file
View File

@@ -0,0 +1,33 @@
"""
DateTime and Timezone Constants
Configuration constants for datetime and timezone operations across the bakery system.
"""
DEFAULT_TIMEZONE = "Europe/Madrid"
SUPPORTED_TIMEZONES = {
"Europe/Madrid",
"Europe/London",
"Europe/Paris",
"Europe/Berlin",
"America/New_York",
"America/Chicago",
"America/Los_Angeles",
"Asia/Tokyo",
"Asia/Shanghai",
"Australia/Sydney",
"UTC"
}
BUSINESS_HOURS_DEFAULT = {
"start_hour": 8,
"end_hour": 20,
"include_weekends": False
}
ISO_FORMAT = "%Y-%m-%dT%H:%M:%S"
ISO_FORMAT_WITH_TZ = "%Y-%m-%dT%H:%M:%S%z"
DATE_FORMAT = "%Y-%m-%d"
TIME_FORMAT = "%H:%M:%S"
DATETIME_FORMAT = "%Y-%m-%d %H:%M:%S"