input-datetime.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. {
  2. "title":"Date and time input types",
  3. "description":"Form field widget to easily allow users to enter a date, time or both, generally by using a calendar/time input widget.",
  4. "spec":"https://html.spec.whatwg.org/multipage/forms.html#date-state-(type=date)",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip-cross-browser-datepickers-within-minutes/",
  9. "title":"Datepicker tutorial w/polyfill"
  10. },
  11. {
  12. "url":"https://github.com/zoltan-dulac/html5Forms.js",
  13. "title":"Polyfill for HTML5 forms"
  14. },
  15. {
  16. "url":"https://raw.github.com/phiggins42/has.js/master/detect/form.js#input-type-datetime-local",
  17. "title":"has.js test"
  18. },
  19. {
  20. "url":"http://docs.webplatform.org/wiki/html/elements/input/type/date",
  21. "title":"WebPlatform Docs"
  22. },
  23. {
  24. "url":"https://bugzilla.mozilla.org/show_bug.cgi?id=888320",
  25. "title":"Bug on Firefox support"
  26. }
  27. ],
  28. "bugs":[
  29. {
  30. "description":"Chrome for Android grays out dates that are out of range (using `min` and `max` attributes), but does not prevent the user from selecting these dates."
  31. },
  32. {
  33. "description":"The time control in Microsoft Edge currently does not provide a way for a user to specify AM/PM, if their current region uses a 12 hour clock."
  34. }
  35. ],
  36. "categories":[
  37. "HTML5"
  38. ],
  39. "stats":{
  40. "ie":{
  41. "5.5":"n",
  42. "6":"n",
  43. "7":"n",
  44. "8":"n",
  45. "9":"n",
  46. "10":"n",
  47. "11":"n"
  48. },
  49. "edge":{
  50. "12":"a #1",
  51. "13":"y",
  52. "14":"y",
  53. "15":"y"
  54. },
  55. "firefox":{
  56. "2":"n",
  57. "3":"n",
  58. "3.5":"n",
  59. "3.6":"n",
  60. "4":"n",
  61. "5":"n",
  62. "6":"n",
  63. "7":"n",
  64. "8":"n",
  65. "9":"n",
  66. "10":"n",
  67. "11":"n",
  68. "12":"n",
  69. "13":"n",
  70. "14":"n",
  71. "15":"n",
  72. "16":"n",
  73. "17":"n",
  74. "18":"n",
  75. "19":"n",
  76. "20":"n",
  77. "21":"n",
  78. "22":"n",
  79. "23":"n",
  80. "24":"n",
  81. "25":"n",
  82. "26":"n",
  83. "27":"n",
  84. "28":"n",
  85. "29":"n",
  86. "30":"n",
  87. "31":"n",
  88. "32":"n",
  89. "33":"n",
  90. "34":"n",
  91. "35":"n",
  92. "36":"n",
  93. "37":"n",
  94. "38":"n",
  95. "39":"n",
  96. "40":"n",
  97. "41":"n",
  98. "42":"n",
  99. "43":"n",
  100. "44":"n",
  101. "45":"n",
  102. "46":"n",
  103. "47":"n",
  104. "48":"n",
  105. "49":"n",
  106. "50":"n",
  107. "51":"n",
  108. "52":"n",
  109. "53":"n"
  110. },
  111. "chrome":{
  112. "4":"n",
  113. "5":"n",
  114. "6":"n",
  115. "7":"n",
  116. "8":"n",
  117. "9":"n",
  118. "10":"n",
  119. "11":"n",
  120. "12":"n",
  121. "13":"n",
  122. "14":"n",
  123. "15":"n",
  124. "16":"n",
  125. "17":"n",
  126. "18":"n",
  127. "19":"n",
  128. "20":"y",
  129. "21":"y",
  130. "22":"y",
  131. "23":"y",
  132. "24":"y",
  133. "25":"y",
  134. "26":"y",
  135. "27":"y",
  136. "28":"y",
  137. "29":"y",
  138. "30":"y",
  139. "31":"y",
  140. "32":"y",
  141. "33":"y",
  142. "34":"y",
  143. "35":"y",
  144. "36":"y",
  145. "37":"y",
  146. "38":"y",
  147. "39":"y",
  148. "40":"y",
  149. "41":"y",
  150. "42":"y",
  151. "43":"y",
  152. "44":"y",
  153. "45":"y",
  154. "46":"y",
  155. "47":"y",
  156. "48":"y",
  157. "49":"y",
  158. "50":"y",
  159. "51":"y",
  160. "52":"y",
  161. "53":"y",
  162. "54":"y",
  163. "55":"y",
  164. "56":"y",
  165. "57":"y",
  166. "58":"y"
  167. },
  168. "safari":{
  169. "3.1":"n",
  170. "3.2":"n",
  171. "4":"n",
  172. "5":"n",
  173. "5.1":"n",
  174. "6":"n",
  175. "6.1":"n",
  176. "7":"n",
  177. "7.1":"n",
  178. "8":"n",
  179. "9":"n",
  180. "9.1":"n",
  181. "10":"n",
  182. "TP":"n"
  183. },
  184. "opera":{
  185. "9":"y",
  186. "9.5-9.6":"y",
  187. "10.0-10.1":"y",
  188. "10.5":"y",
  189. "10.6":"y",
  190. "11":"y",
  191. "11.1":"y",
  192. "11.5":"y",
  193. "11.6":"y",
  194. "12":"y",
  195. "12.1":"y",
  196. "15":"y",
  197. "16":"y",
  198. "17":"y",
  199. "18":"y",
  200. "19":"y",
  201. "20":"y",
  202. "21":"y",
  203. "22":"y",
  204. "23":"y",
  205. "24":"y",
  206. "25":"y",
  207. "26":"y",
  208. "27":"y",
  209. "28":"y",
  210. "29":"y",
  211. "30":"y",
  212. "31":"y",
  213. "32":"y",
  214. "33":"y",
  215. "34":"y",
  216. "35":"y",
  217. "36":"y",
  218. "37":"y",
  219. "38":"y",
  220. "39":"y",
  221. "40":"y",
  222. "41":"y",
  223. "42":"y",
  224. "43":"y",
  225. "44":"y"
  226. },
  227. "ios_saf":{
  228. "3.2":"n",
  229. "4.0-4.1":"n",
  230. "4.2-4.3":"n",
  231. "5.0-5.1":"a #2",
  232. "6.0-6.1":"a #2",
  233. "7.0-7.1":"a #2",
  234. "8":"a #2",
  235. "8.1-8.4":"a #2",
  236. "9.0-9.2":"a #2",
  237. "9.3":"a #2",
  238. "10-10.1":"a #2"
  239. },
  240. "op_mini":{
  241. "all":"n"
  242. },
  243. "android":{
  244. "2.1":"n",
  245. "2.2":"n",
  246. "2.3":"n",
  247. "3":"n",
  248. "4":"n #3",
  249. "4.1":"n #3",
  250. "4.2-4.3":"n #3",
  251. "4.4":"y",
  252. "4.4.3-4.4.4":"y",
  253. "53":"y"
  254. },
  255. "bb":{
  256. "7":"n",
  257. "10":"y"
  258. },
  259. "op_mob":{
  260. "10":"y",
  261. "11":"y",
  262. "11.1":"y",
  263. "11.5":"y",
  264. "12":"y",
  265. "12.1":"y",
  266. "37":"y"
  267. },
  268. "and_chr":{
  269. "55":"y"
  270. },
  271. "and_ff":{
  272. "50":"y"
  273. },
  274. "ie_mob":{
  275. "10":"n",
  276. "11":"n"
  277. },
  278. "and_uc":{
  279. "11":"y"
  280. },
  281. "samsung":{
  282. "4":"y"
  283. }
  284. },
  285. "notes":"Older versions of Safari provide date-formatted text fields, but no real calendar widget.\r\n\r\nChrome, Opera, and Microsoft Edge also support the `datetime-local` type for both date and time.\r\n\r\nThere used to also be a `datetime` type, but it was [dropped from the HTML spec](https://github.com/whatwg/html/issues/336) since only Presto ever fully supported it.",
  286. "notes_by_num":{
  287. "1":"Partial support in Microsoft Edge refers to supporting `date`, `week`, and `month` input types, and not `time` and `datetime-local`.",
  288. "2":"Partial support in iOS Safari refers to not supporting `min`, `max` or `step` attributes",
  289. "3":"Some modified versions of the Android 4.x browser do have support for date/time fields."
  290. },
  291. "usage_perc_y":69.27,
  292. "usage_perc_a":9.68,
  293. "ucprefix":false,
  294. "parent":"forms",
  295. "keywords":"datepicker,timepicker,input type=\"date\",input type=\"time\",input date,datetime-local",
  296. "ie_id":"daterelatedinputtypes,timerelatedinputtypes",
  297. "chrome_id":"6640933999214592",
  298. "firefox_id":"",
  299. "webkit_id":"",
  300. "shown":true
  301. }