Page 2 of 2
Re: Numeric Fields by mobile Apps
Posted: Wed Nov 06, 2013 6:31 pm
by Scott Klement
When I use the input type = date on my iPad, it does not show on the screen in YYYY-MM-DD format. Instead, it brings up the iOS native date picker that gives me dials to select the day, month and year.
Is it showing up as a YYYY-MM-DD string for you? Which browser are you using?
Re: Numeric Fields by mobile Apps
Posted: Thu Nov 07, 2013 5:33 am
by kfritz
Scott,
Yes, it does(both) FF and Chrome, Android 4.3.
Chrome brings up a date picker like the IOS, FF a calendar popup (similar PUI's).
Field Definition:
btw.
Is it correct, that the mobile client uses a different formatted signon screen?
As it seems, it takes the changed "signonscrn", but applies the blue panel style.
(I changed the signonscrn to an own, "black-panel-style" = common signon).
Thanks,
Karl
Re: Numeric Fields by mobile Apps
Posted: Thu Nov 07, 2013 4:18 pm
by Scott Klement
Unfortunately, there's nothing we can do about the way a browser displays input type = date. The HTML5 spec says that the date is transferred as YYYY-MM-DD over the network, but it's up to the browser to determine how it should be displayed to the user. The HTML5 standard is documented here:
http://dev.w3.org/html5/markup/input.date.html
http://tools.ietf.org/html/rfc3339
If the browser chooses to display it in YYYY-MM-DD fashion, there's not much we can do about it. Here is information about how it's handled in Chrome, which seems to have the best support of the desktop browsers at the moment. It will show the date in your local calendar format:
https://plus.google.com/102860501900098 ... TcMLVNKnec
And here's a list of the different versions of the browser, and what level of support they have:
http://caniuse.com/input-datetime
So, it looks like a lot of browsers are lagging behind on supporting this. Perhaps you will need to use our date widget or somethng of your own design rather than the "input type" solution?