←back to thread

286 points mnemonet | 10 comments | | HN request time: 1.172s | source | bottom
1. 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 #
2. AugurCognito ◴[] No.45891225[source]
https://github.com/Pikaday/Pikaday

> We’ve decided to archive the Pikaday repository on GitHub. The project has not been actively maintained for years.

> 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.

3. 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 #
4. thoughtpalette ◴[] No.45891759[source]
This should be higher up. Posting a deprecated library with this title is an interesting choice.
replies(2): >>45892637 #>>45892659 #
5. phil-pickering ◴[] No.45892637{3}[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 #
6. culi ◴[] No.45892659{3}[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 #
7. SoftTalker ◴[] No.45893582[source]
You know what's bad? A bespoke date picker that behaves differently from how the date picker works on the rest of the apps on the device.

Usability doesn't matter when there's an established behavior. Users get used to how it works, and then differences cause stumbling blocks.

Use the native date pickers.

replies(1): >>45894979 #
8. carlosjobim ◴[] No.45894979[source]
The native date pickers are of low quality for usability. They have been so unpopular for so long, that you don't have any users who are accustomed to them. Because almost no apps or websites use the native date pickers.

If you're fine with loosing most of your customers because they can't use your website, then go ahead with native date pickers. But I'm not going to ask my customers to scroll on a list of numbers on their iPhone or try to pinpoint a microscopic calendar on their computer to pick a date. User comes first. Developer comes last.

9. foresterre ◴[] No.45895387{4}[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.

10. dbushell ◴[] No.45897090{4}[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.