"So, it's as simple as changing type="text" to type="date"?
Turns out that Firefox (and hence Tor Browser) doesn't support this yet, but it falls back to plain text nicely.
I just made that change in the mockup.
Thanks!"
Yes, it's as easy as that! The date selector also works natively on mobile browsers, such as MobileSafari. The plaintext fallback is nice as it supports (as you said) Tor Browser etc.
No problem, happy to help,
Joshua
On Thu, Jul 2, 2015 at 11:13 AM, Karsten Loesing karsten@torproject.org wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 02/07/15 11:45, Joshua Lee Tucker wrote:
Hi Karsten,
I've made a patch to the page to add the HTML5 date components - it should work nicely across the majority of browsers (maybe even all with a plaintext fallback).
I wasn't sure exactly in which format you wanted the patch, so I've uploaded it to my server:
So, it's as simple as changing type="text" to type="date"?
Turns out that Firefox (and hence Tor Browser) doesn't support this yet, but it falls back to plain text nicely.
I just made that change in the mockup.
Thanks!
All the best, Karsten -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org
iQEcBAEBAgAGBQJVlQ7TAAoJEJD5dJfVqbCr+FsH/3M4KV4rBSxP16xbrYh1Q4/R sGQONZ4ro6YW99LVjs5HXAxm+Vd97lklAjPp/ezEpDzzHBdhoKWo0h4JhI9ldWz1 DzgNMHuoUk3wBnW1Zf0/JxDkxsa68SOt/rS4MMniROYeYd6a8crs8SrSOtVrXyTw Rks0IRtw5UaqhJu4+AGAkrloKgtseaJ9jj6ocPGLrrucblp5RY6ykgD9RFH3w0tH Rp0/5OXtpPH5Blq8KZ5oWLJUw8YZKgsiPJTtTYIgnNlONxAZvAROhDEOi+9wqmAU LteuLbR8oQ5AyqQvY2TE6M6oZqbnL+tFZBt/NDN/8JVWW5rfp/S1vpmU+RyP1jk= =qYHZ -----END PGP SIGNATURE----- _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays