summaryrefslogtreecommitdiff
path: root/src/localtime.c
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2022-04-05 14:25:02 +0300
committerGitHub <noreply@github.com>2022-04-05 14:25:02 +0300
commitfb4e0d400ff82117104bde5296c477ad95f8dd41 (patch)
tree4ede2d02b134a84ff29bb7398902c398cd4ff454 /src/localtime.c
parentd2b5a579dd8b785690aa7714df8776ffc452d242 (diff)
parent8b242ef977b88d6cae38d451130a88116bcbb638 (diff)
downloadredis-7.0-rc3.tar.gz
Merge pull request #10532 from oranagra/7.0-rc37.0-rc3
Release 7.0 rc3
Diffstat (limited to 'src/localtime.c')
-rw-r--r--src/localtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localtime.c b/src/localtime.c
index e2ac81f98..1cefdfa88 100644
--- a/src/localtime.c
+++ b/src/localtime.c
@@ -108,7 +108,7 @@ void nolocks_localtime(struct tm *tmp, time_t t, time_t tz, int dst) {
int main(void) {
/* Obtain timezone and daylight info. */
- tzset(); /* Now 'timezome' global is populated. */
+ tzset(); /* Now 'timezone' global is populated. */
time_t t = time(NULL);
struct tm *aux = localtime(&t);
int daylight_active = aux->tm_isdst;