diff options
author | Benjamin Berg <bberg@redhat.com> | 2021-01-11 15:05:11 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-01-11 20:34:25 +0100 |
commit | 85d3be36cef8cbcf15e7d392733513c76b7bb955 (patch) | |
tree | a8f3f382a55489fa26520cb9dac3e11428f19fb1 | |
parent | a221531edfce5904bcf533e236baa7c048fc8af5 (diff) | |
download | libgweather-85d3be36cef8cbcf15e7d392733513c76b7bb955.tar.gz |
location: Clarify purpose of year start/end information
-rw-r--r-- | libgweather/gweather-location.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgweather/gweather-location.c b/libgweather/gweather-location.c index 4c69b49..7d3bb30 100644 --- a/libgweather/gweather-location.c +++ b/libgweather/gweather-location.c @@ -247,7 +247,8 @@ gweather_location_get_world () g_ptr_array_set_size (world_db->locations, db_arrayof_location_get_length (world_db->locations_ref)); g_ptr_array_set_size (world_db->timezones, db_world_timezones_get_length (world_db->timezones_ref)); - /* Get timestamps for the start and end of this year */ + /* Get timestamps for the start and end of this year. + * This is used to parse timezone information. */ now = time (NULL); tm = *gmtime (&now); tm.tm_mon = 0; |