1
0
Fork 0
mirror of https://codeberg.org/Reuh/feather.git synced 2025-10-28 02:29:32 +00:00

feat: rename time -> datetime in config

This commit is contained in:
Étienne Fildadut 2025-10-09 16:55:28 +02:00
parent f40afbcb7a
commit bab374d17f
2 changed files with 4 additions and 4 deletions

View file

@ -44,8 +44,8 @@ class Config:
self.server_user: str = str(get_config("server", "user", False))
self.server_password: str = str(get_config("server", "password", False))
self.items_per_query: int = int(get_config("server", "items_per_request"))
self.timezone: ZoneInfo = ZoneInfo(get_config("time", "timezone"))
self.time_format: str = str(get_config("time", "format"))
self.timezone: ZoneInfo = ZoneInfo(get_config("datetime", "timezone"))
self.time_format: str = str(get_config("datetime", "format"))
self.item_template: Template = Template(get_config("html", "template"), autoescape=True)
self.item_filename_template: Template = Template(get_config("html", "filename_template"), autoescape=False)
self.max_filename_length: int = int(get_config("html", "max_filename_length"))