diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-03-31 06:43:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 15:43:35 +0200 |
commit | 1e4093d949ab015cd1e3e62cf0f47d83ef0bca38 (patch) | |
tree | 6d43d9e3b83f66ea468d0931f68b2066f6032cea /lib/pure | |
parent | 119b0ce66fcadadf49e0a6ecec215cf3733723dd (diff) | |
download | Nim-1e4093d949ab015cd1e3e62cf0f47d83ef0bca38.tar.gz |
refs #13797 (#13812)
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/times.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/times.nim b/lib/pure/times.nim index 45ed6dd67..b9410e14c 100644 --- a/lib/pure/times.nim +++ b/lib/pure/times.nim @@ -1073,7 +1073,7 @@ proc zonedTimeFromAdjTime*(zone: Timezone, adjTime: Time): ZonedTime = proc `$`*(zone: Timezone): string = ## Returns the name of the timezone. - zone.name + if zone != nil: result = zone.name proc `==`*(zone1, zone2: Timezone): bool = ## Two ``Timezone``'s are considered equal if their name is equal. |