←back to thread

287 points mnemonet | 5 comments | | HN request time: 0.423s | source
Show context
carlosjobim ◴[] No.45887999[source]
They are wrong. Most OS native date pickers are very bad from a usability perspective. A javascript date picker fixes these issues, and allows more functions.

And why are they arguing against their own product? Even making up bogus claims that using js date pickers would be illegal in Europe?

replies(3): >>45891225 #>>45891256 #>>45893582 #
nhumrich ◴[] No.45891256[source]
From the GitHub project:

> Pikaday was started before <input type="date"> was supported in browsers and before custom elements and component frameworks. Pikaday is probably not the right choice today

The project itself has been deprecated

replies(1): >>45891759 #
1. thoughtpalette ◴[] No.45891759[source]
This should be higher up. Posting a deprecated library with this title is an interesting choice.
replies(2): >>45892637 #>>45892659 #
2. phil-pickering ◴[] No.45892637[source]
You're all getting a little confused!

This is an up-to-date guide demonstrating why the old deprecated Pikaday JavaScript Datepicker is no longer needed.

replies(1): >>45897090 #
3. culi ◴[] No.45892659[source]
Did you click on the OP? This whole post is about using native date pickers. The very first words are:

> Who needs a JavaScript date picker?

> The answer, in most cases, is nobody!

replies(1): >>45895387 #
4. foresterre ◴[] No.45895387[source]
I was quite confused too. I thought these were Pikaday implementations, partly because I usually use UK language in browsers, and then you get exclusively these (annoying to me) AM/PM date input pickers, and this time I didn't.

I tried some of the inputs and found that they worked well for initial input, but editing inputs didn't (e.g. the masked date input cursor just jumps over previous decimals, when typing a new number)

I made a reproduction video and tried to report it to the Pikaday issue tracker after which I found out it's deprecated.

Going back, and comparing the readme with the page, does show that the post uses native inputs. ... I feel that could have been more explicit; in this post I expected Pikaday to have the option to use native pickers with some component styling.

5. dbushell ◴[] No.45897090[source]
yep! I decided to repurpose the pikaday.com domain because it was still seeing a lot of traffic despite the project being unmaintained for years.