Hi wesj, this bug is fork bug 1120108. I have a question about datetime element's datetime picker. Datetime element should allow several value. (RFC3339) - yyyy-MM-ddTHH:mm:ssZ (UTC) - yyyy-MM-ddTHH:mm:ss+09:00 (UTC+9) specification is here. Fennec Actual Result: - Selected value isn't include literal 'T' and 'Z'. - Selected value is UTC always. Fennec Expected Result: - Selected value support RFC3339. (should include literal 'T' and 'Z'.) Question: 1) Is datetime element's datetime picker support timezone? (this is meaning that add timezone choice element in picker UI) I think that we should support timezone. Because user will confuse if display utc timezone. If we support only utc, The name 'datetime' is wrong. it should named 'datetime-utc'. Same problem is discussed chromium / WhatWG.   http://www.w3.org/TR/html-markup/input.datetime.html  http://lists.w3.org/Archives/Public/public-whatwg-archive/2012Nov/thread.html#msg119  https://code.google.com/p/chromium/issues/detail?id=175080 best.
Interesting. The thread in  makes it sound like there's some concensus to just just local datetime for "datetime" elements. But regardless, I think you're right, we should add the timezone info in this case. Lets split this in two if you want to do it. 1.) Make a new bug for creating a timezone picker widget. Lets do that somewhere separate. Ideally, we'd use a map or something, but that's not something I want to spend time on. I think we should just create a spinner and populate it with the list from TimeZone.getAvailableIDs()  2.) Make sure we're formatting things correctly (in UTC orignally, and then with the timezone info when/if we have it). I'm confused from this about that a bit, but it looks like we just need to make sure the 'T' and Z formatting options are included in the date time formatter here:   http://developer.android.com/reference/java/util/TimeZone.html#getAvailableIDs%28%29  http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/prompts/PromptInput.java#262
Hi wesj, Sorry for my late reply. >Lets split this in two if you want to do it. OK. This bug is adding literal 'T' and 'Z'. and, I create another bug for creating a timezone picker widget.(bug 1156224) best regard.
Created attachment 8600200 [details] [diff] [review] 1147770.patch Hi wesj. Created patch for this bug. I concern that this modification is relate bug 1120108. So if you can, could you add review+ flags for bug 112108?
Created attachment 8600211 [details] [diff] [review] 1147770.patch I submitted wrong file. Resubmit correct patch.
Created attachment 8600217 [details] [diff] [review] 1147770.patch sorry many time.. I submitted wrong file too.(Copy miss from VM). This patch is correct file.
Comment on attachment 8600217 [details] [diff] [review] 1147770.patch Review of attachment 8600217 [details] [diff] [review]: ----------------------------------------------------------------- I think this looks right. Thanks :)
Hi wesj, Thank you for review it! I don't