mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 17:50:13 +00:00
Add system time zone designation. Closes #21.
This commit is contained in:
parent
e8d1c5bf90
commit
570899928a
8 changed files with 89 additions and 13 deletions
|
|
@ -93,3 +93,8 @@ class MembersAlreadyFrontingError(PluralKitError):
|
|||
class DuplicateSwitchMembersError(PluralKitError):
|
||||
def __init__(self):
|
||||
super().__init__("Duplicate members in member list.")
|
||||
|
||||
|
||||
class InvalidTimeZoneError(PluralKitError):
|
||||
def __init__(self, tz_name: str):
|
||||
super().__init__("Invalid time zone designation \"{}\".\n\nFor a list of valid time zone designations, see the `TZ database name` column here: <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List>.".format(tz_name))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue