We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2019-10-30 14:11:19 +0300

3.2.0 : Time / timezone wrong

So, after the update bricked my phone yesterday, I did a factory reset from recovery, and let it update itself to 3.2.0 again. Now I have the issue that my time/timezone is one hour wrong when using network time(for example 11:43 in stead of the correct time 12:43). I'm living in the Netherlands. However, a website like https://browserspy.dk/date.php diplays the correct time(uses webborwser exposed time).

When I set it to the correct time manually(selecting the right timezone) apps like SailOTP do not work anymore. https://browserspy.dk/date.php gives a 3600 second offset.

Any ideas?

I found the GetNetworkTime command somewhere else(output seems correct to me - but sailfish does not account for the 3600 seconds timezone difference):

[nemo@Sailfish ~]$ date
Wed Oct 30 12:08:17 UTC 2019
[nemo@Sailfish ~]$ dbus-send --system --print-reply --type=method_call --dest=or                     g.ofono /ril_0 org.ofono.NetworkTime.GetNetworkTime
method return time=1572437299.391202 sender=:1.7 -> destination=:1.138 serial=54                     0 reply_serial=2
   array [
      dict entry(
         string "UTC"
         variant             int64 1572436537
      )
      dict entry(
         string "DST"
         variant             uint32 0
      )
      dict entry(
         string "Received"
         variant             int64 58
      )
      dict entry(
         string "Timezone"
         variant             int32 3600
      )
      dict entry(
         string "MobileCountryCode"
         variant             string "204"
      )
      dict entry(
         string "MobileNetworkCode"
         variant             string "16"
      )
   ]
[nemo@Sailfish ~]$

3.2.0 Factory reset, several upgrades->3.2.0 : Time / timezone wrong

So, after the update bricked my phone yesterday, I did a factory reset from recovery, and let it update itself to 3.2.0 again. Now I have the issue that my time/timezone is one hour wrong when using network time(for example 11:43 in stead of the correct time 12:43). I'm living in the Netherlands. However, a website like https://browserspy.dk/date.php diplays the correct time(uses webborwser exposed time).

When I set it to the correct time manually(selecting the right timezone) apps like SailOTP do not work anymore. https://browserspy.dk/date.php gives a 3600 second offset.

Any ideas?

I found the GetNetworkTime command somewhere else(output seems correct to me - but sailfish does not account for the 3600 seconds timezone difference):

[nemo@Sailfish ~]$ date
Wed Oct 30 12:08:17 UTC 2019
[nemo@Sailfish ~]$ dbus-send --system --print-reply --type=method_call --dest=or                     g.ofono /ril_0 org.ofono.NetworkTime.GetNetworkTime
method return time=1572437299.391202 sender=:1.7 -> destination=:1.138 serial=54                     0 reply_serial=2
   array [
      dict entry(
         string "UTC"
         variant             int64 1572436537
      )
      dict entry(
         string "DST"
         variant             uint32 0
      )
      dict entry(
         string "Received"
         variant             int64 58
      )
      dict entry(
         string "Timezone"
         variant             int32 3600
      )
      dict entry(
         string "MobileCountryCode"
         variant             string "204"
      )
      dict entry(
         string "MobileNetworkCode"
         variant             string "16"
      )
   ]
[nemo@Sailfish ~]$

Factory reset, several upgrades->3.2.0 : Time / timezone wrongTimezone issues [solution]

So, after the update bricked my phone yesterday, I did a factory reset from recovery, and let it update itself to 3.2.0 again. Now I have the issue that my time/timezone is one hour wrong when using network time(for example 11:43 in stead of the correct time 12:43). I'm living in the Netherlands. However, a website like https://browserspy.dk/date.php diplays the correct time(uses webborwser exposed time).

When I set it to the correct time manually(selecting the right timezone) apps like SailOTP do not work anymore. https://browserspy.dk/date.php gives a 3600 second offset.

Any ideas?

I found the GetNetworkTime command somewhere else(output seems correct to me - but sailfish does not account for the 3600 seconds timezone difference):

[nemo@Sailfish ~]$ date
Wed Oct 30 12:08:17 UTC 2019
[nemo@Sailfish ~]$ dbus-send --system --print-reply --type=method_call --dest=or                     g.ofono /ril_0 org.ofono.NetworkTime.GetNetworkTime
method return time=1572437299.391202 sender=:1.7 -> destination=:1.138 serial=54                     0 reply_serial=2
   array [
      dict entry(
         string "UTC"
         variant             int64 1572436537
      )
      dict entry(
         string "DST"
         variant             uint32 0
      )
      dict entry(
         string "Received"
         variant             int64 58
      )
      dict entry(
         string "Timezone"
         variant             int32 3600
      )
      dict entry(
         string "MobileCountryCode"
         variant             string "204"
      )
      dict entry(
         string "MobileNetworkCode"
         variant             string "16"
      )
   ]
[nemo@Sailfish ~]$