Update core/time/timezone/tzdate.odin

Co-authored-by: Feoramund <161657516+Feoramund@users.noreply.github.com>
This commit is contained in:
Colin Davidson
2024-10-21 21:48:58 -07:00
committed by GitHub
parent 5bf8852b2e
commit d393d3292f

View File

@@ -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