[oobe] Initialize the system date and time

Bug #1084576 reported by Mika Meskanen
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
touch-preview-images
Confirmed
Medium
Unassigned

Bug Description

Expected result: Greeter shows actual and local time and date.

Actual result: Apparently clock starts ticking from 1/1/2000 12:00 AM every time phone is flashed.

Tags: unity-public
Revision history for this message
Bill Filler (bfiller) wrote :

So in 11-29-12 build, the time and date are live for me. They update correctly. The only problem is the timezone is wrong and it's showing UK time even though I'm in the US.

Is there some locale/timezone setting that we need to set that could be read in?

@mika
Your phone might not have the date set properly on it that's why you might be seeing it reset. Type "date" after shelling into the phone to see what the system date is set to.

Changed in manhattan:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Florian Boucault (fboucault)
milestone: none → feature-freeze
Revision history for this message
Florian Boucault (fboucault) wrote :

Any way to have the date set automatically with ntp?

Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: [Bug 1084576] Re: Wrong time and date shown on the Greeter

On Sat, Dec 1, 2012 at 11:34 AM, Florian Boucault
<email address hidden> wrote:
> Any way to have the date set automatically with ntp?

Probably, and I believe it'd be our best option here (but it would
require the user to connect to a valid network).

The phone has a default date of 01/01/2000 00:00, so until you set the
time by hand (or calling ntp), it'll still show the wrong values. Once
I get at London I'll give it a shot to see how it works with our setup
(aka see if it also sets up the clock for the android side, so it can
stay between reboots).

summary: - Wrong time and date shown on the Greeter
+ Initialize the system date and time
Changed in manhattan:
assignee: Florian Boucault (fboucault) → Ricardo Salveti (rsalveti)
Revision history for this message
Bill Filler (bfiller) wrote : Re: Initialize the system date and time

@rsalveti
I this fixed comitted? I know it will be manual for user to setup correct timezone via dpkg-reconfigure tzdata, but will your phones make phones come up with correct date now?

Changed in manhattan:
status: Confirmed → In Progress
milestone: feature-freeze → demo-final
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

ntpdate should be working fine now once the user connects phone at a valid network. The only piece that will still need manual interaction is the timezone settings.

I believe what we can do, until we can set timezones at the indicator-time, is to automatically set it to CES's timezone at build time.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

ntpdate is already working once connected, but for the default timezone we have the following MR: https://code.launchpad.net/~manhattan-team/manhattan/manhattan-quantal-armhf_setting_default_timezone/+merge/140937

Bill Filler (bfiller)
Changed in manhattan:
milestone: final → update-1
importance: High → Medium
Andrea Cimitan (cimi)
tags: added: unity-public
Revision history for this message
Bill Filler (bfiller) wrote :

this won't get fixed till we have an first boot wizard to allow the user to set the proper timezone.

Changed in manhattan:
assignee: Ricardo Salveti (rsalveti) → nobody
milestone: update-1 → none
status: In Progress → Confirmed
summary: - Initialize the system date and time
+ [oobe] Initialize the system date and time
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

This is also related to NITZ support

information type: Proprietary → Public
affects: manhattan → touch-preview-images
Changed in touch-preview-images:
assignee: nobody → Ricardo Salveti (rsalveti)
Changed in touch-preview-images:
assignee: Ricardo Salveti (rsalveti) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.