Development

This commit is contained in:
Matthew Grotke 2026-06-02 00:47:03 -04:00
parent 6d9aac0460
commit 59ac3c5973
20 changed files with 1466 additions and 1 deletions

View file

@ -0,0 +1,12 @@
import json
from flask import session
import sanitize
def collect_tokens(cfg):
blank = [{'value': '', 'label': '-- Select timezone --'}]
return {
'PREF_EMAIL': session.get('email_address', ''),
'PREF_TIMEZONE': session.get('timezone', ''),
'TIMEZONE_OPTIONS': json.dumps(blank + [{'value': tz, 'label': tz} for tz in sanitize.VALID_TIMEZONES]),
}