diff options
author | Guy Harris <gharris@sonic.net> | 2022-01-03 14:48:10 -0800 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-01-03 23:08:07 +0000 |
commit | 0e98eb412f0f882fbb9ac03f4646ce97aa970aa6 (patch) | |
tree | ce0c4ab0a4b586fd37fa9d9156fc69e0132add77 /wsutil | |
parent | 2aa0664e25bc3605ffac9177ebd0674d073a8aa9 (diff) |
nstime: "localtime()" is an API, "local time" is local time.
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/nstime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/nstime.c b/wsutil/nstime.c index 9d1908ff7a..bdddb9437a 100644 --- a/wsutil/nstime.c +++ b/wsutil/nstime.c @@ -495,7 +495,7 @@ iso8601_to_nstime(nstime_t *nstime, const char *ptr, iso8601_fmt_e format) } } else { - /* No UTC offset given; ISO 8601 says this means localtime */ + /* No UTC offset given; ISO 8601 says this means local time */ nstime->secs = mktime(&tm); } nstime->nsecs = frac; @@ -532,7 +532,7 @@ unix_epoch_to_nstime(nstime_t *nstime, const char *ptr) return 0; } - /* No UTC offset given; ISO 8601 says this means localtime */ + /* No UTC offset given; ISO 8601 says this means local time */ nstime->secs = mktime(&tm); /* Now let's test for fractional seconds */ |