input-datetime.json 6.5 KB

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