input-datetime.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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. "categories":[
  34. "HTML5"
  35. ],
  36. "stats":{
  37. "ie":{
  38. "5.5":"n",
  39. "6":"n",
  40. "7":"n",
  41. "8":"n",
  42. "9":"n",
  43. "10":"n",
  44. "11":"n"
  45. },
  46. "edge":{
  47. "12":"a #1",
  48. "13":"y",
  49. "14":"y"
  50. },
  51. "firefox":{
  52. "2":"n",
  53. "3":"n",
  54. "3.5":"n",
  55. "3.6":"n",
  56. "4":"n",
  57. "5":"n",
  58. "6":"n",
  59. "7":"n",
  60. "8":"n",
  61. "9":"n",
  62. "10":"n",
  63. "11":"n",
  64. "12":"n",
  65. "13":"n",
  66. "14":"n",
  67. "15":"n",
  68. "16":"n",
  69. "17":"n",
  70. "18":"n",
  71. "19":"n",
  72. "20":"n",
  73. "21":"n",
  74. "22":"n",
  75. "23":"n",
  76. "24":"n",
  77. "25":"n",
  78. "26":"n",
  79. "27":"n",
  80. "28":"n",
  81. "29":"n",
  82. "30":"n",
  83. "31":"n",
  84. "32":"n",
  85. "33":"n",
  86. "34":"n",
  87. "35":"n",
  88. "36":"n",
  89. "37":"n",
  90. "38":"n",
  91. "39":"n",
  92. "40":"n",
  93. "41":"n",
  94. "42":"n",
  95. "43":"n",
  96. "44":"n",
  97. "45":"n",
  98. "46":"n",
  99. "47":"n",
  100. "48":"n",
  101. "49":"n",
  102. "50":"n",
  103. "51":"n",
  104. "52":"n",
  105. "53":"n"
  106. },
  107. "chrome":{
  108. "4":"n",
  109. "5":"n",
  110. "6":"n",
  111. "7":"n",
  112. "8":"n",
  113. "9":"n",
  114. "10":"n",
  115. "11":"n",
  116. "12":"n",
  117. "13":"n",
  118. "14":"n",
  119. "15":"n",
  120. "16":"n",
  121. "17":"n",
  122. "18":"n",
  123. "19":"n",
  124. "20":"y",
  125. "21":"y",
  126. "22":"y",
  127. "23":"y",
  128. "24":"y",
  129. "25":"y",
  130. "26":"y",
  131. "27":"y",
  132. "28":"y",
  133. "29":"y",
  134. "30":"y",
  135. "31":"y",
  136. "32":"y",
  137. "33":"y",
  138. "34":"y",
  139. "35":"y",
  140. "36":"y",
  141. "37":"y",
  142. "38":"y",
  143. "39":"y",
  144. "40":"y",
  145. "41":"y",
  146. "42":"y",
  147. "43":"y",
  148. "44":"y",
  149. "45":"y",
  150. "46":"y",
  151. "47":"y",
  152. "48":"y",
  153. "49":"y",
  154. "50":"y",
  155. "51":"y",
  156. "52":"y",
  157. "53":"y",
  158. "54":"y",
  159. "55":"y",
  160. "56":"y",
  161. "57":"y"
  162. },
  163. "safari":{
  164. "3.1":"n",
  165. "3.2":"n",
  166. "4":"n",
  167. "5":"n",
  168. "5.1":"n",
  169. "6":"n",
  170. "6.1":"n",
  171. "7":"n",
  172. "7.1":"n",
  173. "8":"n",
  174. "9":"n",
  175. "9.1":"n",
  176. "10":"n",
  177. "TP":"n"
  178. },
  179. "opera":{
  180. "9":"y",
  181. "9.5-9.6":"y",
  182. "10.0-10.1":"y",
  183. "10.5":"y",
  184. "10.6":"y",
  185. "11":"y",
  186. "11.1":"y",
  187. "11.5":"y",
  188. "11.6":"y",
  189. "12":"y",
  190. "12.1":"y",
  191. "15":"y",
  192. "16":"y",
  193. "17":"y",
  194. "18":"y",
  195. "19":"y",
  196. "20":"y",
  197. "21":"y",
  198. "22":"y",
  199. "23":"y",
  200. "24":"y",
  201. "25":"y",
  202. "26":"y",
  203. "27":"y",
  204. "28":"y",
  205. "29":"y",
  206. "30":"y",
  207. "31":"y",
  208. "32":"y",
  209. "33":"y",
  210. "34":"y",
  211. "35":"y",
  212. "36":"y",
  213. "37":"y",
  214. "38":"y",
  215. "39":"y",
  216. "40":"y",
  217. "41":"y",
  218. "42":"y",
  219. "43":"y"
  220. },
  221. "ios_saf":{
  222. "3.2":"n",
  223. "4.0-4.1":"n",
  224. "4.2-4.3":"n",
  225. "5.0-5.1":"a #2",
  226. "6.0-6.1":"a #2",
  227. "7.0-7.1":"a #2",
  228. "8":"a #2",
  229. "8.1-8.4":"a #2",
  230. "9.0-9.2":"a #2",
  231. "9.3":"a #2",
  232. "10-10.1":"a #2"
  233. },
  234. "op_mini":{
  235. "all":"n"
  236. },
  237. "android":{
  238. "2.1":"n",
  239. "2.2":"n",
  240. "2.3":"n",
  241. "3":"n",
  242. "4":"n #3",
  243. "4.1":"n #3",
  244. "4.2-4.3":"n #3",
  245. "4.4":"y",
  246. "4.4.3-4.4.4":"y",
  247. "53":"y"
  248. },
  249. "bb":{
  250. "7":"n",
  251. "10":"y"
  252. },
  253. "op_mob":{
  254. "10":"y",
  255. "11":"y",
  256. "11.1":"y",
  257. "11.5":"y",
  258. "12":"y",
  259. "12.1":"y",
  260. "37":"y"
  261. },
  262. "and_chr":{
  263. "54":"y"
  264. },
  265. "and_ff":{
  266. "50":"y"
  267. },
  268. "ie_mob":{
  269. "10":"n",
  270. "11":"n"
  271. },
  272. "and_uc":{
  273. "11":"y"
  274. },
  275. "samsung":{
  276. "4":"y"
  277. }
  278. },
  279. "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.",
  280. "notes_by_num":{
  281. "1":"Partial support in Microsoft Edge refers to supporting `date`, `week`, and `month` input types, and not `time` and `datetime-local`.",
  282. "2":"Partial support in iOS Safari refers to not supporting `min`, `max` or `step` attributes",
  283. "3":"Some modified versions of the Android 4.x browser do have support for date/time fields."
  284. },
  285. "usage_perc_y":69.31,
  286. "usage_perc_a":9.28,
  287. "ucprefix":false,
  288. "parent":"forms",
  289. "keywords":"datepicker,timepicker,input type=\"date\",input type=\"time\",input date,datetime-local",
  290. "ie_id":"daterelatedinputtypes,timerelatedinputtypes",
  291. "chrome_id":"6640933999214592",
  292. "firefox_id":"",
  293. "webkit_id":"",
  294. "shown":true
  295. }