mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-28 17:04:34 +00:00
Update core/time/timezone/tzdate.odin
Co-authored-by: Feoramund <161657516+Feoramund@users.noreply.github.com>
This commit is contained in:
@@ -253,7 +253,7 @@ shortname :: proc(dt: datetime.DateTime) -> (name: string, success: bool) #optio
|
||||
Gets the timezone abbreviation/shortname for a given date.
|
||||
(ex: "PDT")
|
||||
|
||||
WARNING: This is unsafe because it doesn't check if you datetime is valid, or your region contains a valid record
|
||||
WARNING: This is unsafe because it doesn't check if your datetime is valid or if your region contains a valid record.
|
||||
|
||||
Inputs:
|
||||
- dt: The input datetime
|
||||
|
||||
Reference in New Issue
Block a user