Closed Bug 980650 Opened 7 years ago Closed 7 years ago

Contact birthday is always off by 1

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.4+, b2g-v1.4 verified)

VERIFIED FIXED
1.4 S3 (14mar)
blocking-b2g 1.4+
Tracking Status
b2g-v1.4 --- verified

People

(Reporter: pdehaan, Assigned: jmcf)

Details

(Whiteboard: [fxos-bug-bash-1.4] )

Attachments

(3 files)

Found on Jason's 1.4 LG b2g.

Steps to reproduce:
1. Create a new contact.
2. Set the contact's birthday to Sep 9 1975 (or any year/date seemingly).
3. Click the "OK" button.
4. Verify the date is correct on the Edit Contact screen.
5. Click the "Update" button.
6. Verify the date is correct on the Contact details page.


Actual results:
My date always reverts to the current date -1 day. So if my birthday was Sep 9, it reports as Sep 8 on the details page.
If I set my birthday as Sep 1, 1975, it reports as Aug 31, 1976


Expected results:
Don't do that.
Attached image 2014-03-06-16-59-52.png
Whiteboard: [fxos-bug-bash-1.4]
Attached image 2014-03-06-17-00-01.png
Hei Jose, is something that come to your mind quickly or should we put some time to investigate?
Flags: needinfo?(jmcf)
I will investigate maybe it has to do with date normalization
Flags: needinfo?(jmcf)
Assignee: nobody → jmcf
Leaving qawanted here to find out if this happens on 1.3.
Keywords: qawanted
Unable to try and repro on v1.3, no section under contact info for birthday. Same is true for v1.2, no section under contact info for birthday.

Environmental Variables:
Device: buri v1.3 MOZ ril
BuildID: 20140310004001
Gaia: 78c30d7ed6f6e30337d6c05453b867f5e97e42bc
Gecko: 00f249d54bda
Version: 28.0
Firmware Version: v1.2-device.cfg

Environmental Variables:
Device: buri v1.3 MOZ ril
BuildID: 20140220004002
Gaia: 539a25e1887b902b8b25038c547048e691bd97f6
Gecko: 2ea6a65eea23
Version: 26.0
Firmware Version: v1.2-device.cfg
Keywords: qawanted
QA Contact: rpribble
Is this a new feature on 1.4?
Typo, so sorry. That last variable paragraph was for v1.2, should have read:

Environmental Variables:
Device: buri v1.2 MOZ ril
BuildID: 20140220004002
Gaia: 539a25e1887b902b8b25038c547048e691bd97f6
Gecko: 2ea6a65eea23
Version: 26.0
Firmware Version: v1.2-device.cfg
blocking-b2g: --- → 1.4?
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Attached file 17121.html
Attachment #8389725 - Flags: review?(francisco.jordano)
blocking-b2g: 1.4? → 1.4+
Flags: in-testsuite+
Comment on attachment 8389725 [details]
17121.html

Thanks, easy one.

Please merge once travis is green.
Attachment #8389725 - Flags: review?(francisco.jordano) → review+
https://github.com/mozilla-b2g/gaia/commit/262e1036b3b80b36a7383cc62ce45c9b32643728
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(pdehaan)
Resolution: --- → FIXED
Keywords: verifyme
Target Milestone: --- → 1.4 S3 (14mar)
Flags: needinfo?(pdehaan)
1.4 Buri: Contact's birthday is correctly displayed when creating, viewing, or editing contact.


1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140529000204
Gaia: 7bc1c15c67661a0b8e35f18f15a9d03d1d2cfcd5
Gecko: 2181cac4d0fc
Version: 30.0
Firmware Version: v1.2-device.cfg
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.