mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 22:37:54 +00:00
Refactor date/time format constants
This commit is contained in:
parent
fa5a616716
commit
f4a53ce815
7 changed files with 24 additions and 21 deletions
|
|
@ -18,6 +18,8 @@ namespace PluralKit
|
|||
public string UiTz { get; set; }
|
||||
|
||||
public int MaxMemberNameLength => Tag != null ? 32 - Tag.Length - 1 : 32;
|
||||
|
||||
public DateTimeZone Zone => DateTimeZoneProviders.Tzdb.GetZoneOrNull(UiTz);
|
||||
}
|
||||
|
||||
public class PKMember
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue