Closed Bug 826890 Opened 11 years ago Closed 6 years ago

[B2G][Settings][Date & Time] If the user manually sets the year to be 1979 or earlier, or 2039 or later then the date and time will be different than the user specified.

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

ARM
Gonk (Firefox OS)
defect
Not set
minor

Tracking

(blocking-b2g:-)

RESOLVED WONTFIX
blocking-b2g -

People

(Reporter: jzimbrick, Unassigned)

Details

(Whiteboard: burirun3)

Repro Steps:

1. Update Unagi device to build 2013010304070203.
2. Open the Settings menu.
3. Scroll down Date & Time and select it.
4. Toggle the "Set automatically" setting so that time can be manually set.
5. Choose any time, day, and month and then change the year to something earlier than 1979 or later than 2039.
6. Observe that the date and time will change to something other than what was specified.

Actual Results:

When the user sets the date earlier than 1979 or later than 2039, the date they choose will not be kept.

Expected Results:

User settings remain no matter what the date is set to.
OS: Windows 7 → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Issue Repros. Any year selected before 1970 and after 2038. The date is displayed as Dec 31, 1969. 

Verified  on Unagi Build ID: 20130225070200
Kernel: Dec 5
Gecko:  http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/3a5a27992a75
Gaia: 5691a16fff8e1403c75ed9d6f3a443b7e58198c6

Other notes:
Also found on Master build.
Build ID: 20130226031044
Kernel Date: Dec 5
Gecko: http://hg.mozilla.org/mozilla-central/rev/aaefec5d34f8
Gaia: b1911fb712f5e0cc833c612d29d622883870f58b
We should probably prevent the date being set before 2013 in the date&time.

not sure what's special about 2038...   noming this to blocking as this causes issues with certificates not working correctly.
blocking-b2g: --- → tef?
blocking-b2g: tef? → -
The issue still reproduces on the latest 1.2 COM RIL build and 1.1 COM RIL

Device: Buri v1.2 COM RIL
BuildID: 20131030004003
Gaia: a788ea1a3e04716938bd41a559c36a831cf1190b
Gecko: 4fbe1b01ed63
Version: 26.0a2
Firmware Version:Firmware Version: US_20131015
RIL Version:01.01.00.019.264

Device: Leo 1.1 COM RIL
BuildID: 20131030041204
Gaia: 39b0203fa9809052c8c4d4332fef03bbaf0426fc
Gecko: 41c15ddb7216
Version: 18.0
Firmware Version:V10c
RIL Version: 01.01.00.019.264
Whiteboard: burirun3
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.