The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Fix gswe_timestamp_set_now_local()

It calculated the timezone offset wrong (for 1.0 hour it became 1000.0).
arabic-lots
Gergely Polonkai 7 years ago
parent da90330152
commit b3345b1cd7
  1. 2
      src/gswe-timestamp.c

@ -1740,7 +1740,7 @@ gswe_timestamp_set_now_local(GsweTimestamp *timestamp,
minute = g_date_time_get_minute(datetime);
seconds = g_date_time_get_seconds(datetime);
microsec = g_date_time_get_microsecond(datetime);
timezone = (gdouble)g_date_time_get_utc_offset(datetime) / 3600.0;
timezone = (gdouble)g_date_time_get_utc_offset(datetime) / 3600000000.0;
g_date_time_unref(datetime);
gswe_timestamp_set_gregorian_full(

Loading…
Cancel
Save