A few random comments... This value is not what it says: SECONDS_IN_DAY = 86400000, That's the number of milliseconds in a day. Instead of a magic precalculated number, why not create all the relevant constants so the values become perfectly clear: HOURS_IN_DAY = 24, MINUTES_IN_DAY = HOURS_IN_DAY * 60, SECONDS_IN_DAY = MINUTES_IN_DAY * 60, MILLISECONDS_IN_DAY = SECONDS_IN_DAY * 1000, Personally, I find these kinds of…
Pickadate.js
111–120 of 130 posts
Re: Pickadate.js
#112Deperately needs localisation support. In the UK weeks start on Monday, not Sunday as they do in the US. This is a big deal.
Re: Pickadate.js
#113Deperately needs localisation support. In the UK weeks start on Monday, not Sunday as they do in the US. This is a big deal.
Re: Pickadate.js
#114Re: Pickadate.js
#1151) I think you should put a little tiny triangle / down arrow on the right side of the text-box to give it the official "selection" ui signal.
2) I think you should NOT grey out dates that have already passed and are not selectable but instead keep them the same black color as the others, just them. They're really hard to see when grayed out that much and it confused me a little bit when I first saw the month.
Re: Pickadate.js
#116Earlier quoted context omitted.
There you go - this will make your life easier then: http://dojotoolkit.org/reference-guide/1.8/dijit/form.html#d...
Please, never use the Dojo Toolkit. I was forced to use it on a project and working with it was reinventing the wheel while pulling out hair. It was overly complicated for something that needed to be straightforward and simple.
Re: Pickadate.js
#117Earlier quoted context omitted.
Too bulky in my opinion. I don't need 90 percent of the things in that sdk.
I should add, I also feel like these big frameworks have all the components and dont do a good job of each component. I rather use something that is by itself but the author is passionate about the widget and it is the best it can be.
Re: Pickadate.js
#118> whereas jQuery UI datepicker is 42kb minified For anyone who cares, the Closure Compiler gets jQuery UI Datepicker down to 30kb (11kb gzipped). Not quite as drastic as he claims but still significantly larger compared to his 6.7kb (2.8kb gzipped).
Re: Pickadate.js
#119Deperately needs localisation support. In the UK weeks start on Monday, not Sunday as they do in the US. This is a big deal.
Is it really critical? If you take the datepicker of the TFL official website ( http://www.tfl.gov.uk/ ) they start the week on sunday too. But I agree it can be a pain when you assume the first day is monday.