TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Made my own date picker for AngularJS

44 pointsby mobinniabout 10 years ago

11 comments

fougerejoabout 10 years ago
One month ago I tried to find a nice datepicker directive for angular. &quot;tried&quot;. Couldn&#x27;t find one that wasn&#x27;t broken somewhere. Ended up using the angular-ui one, and spent hours and hours patching the brokeness (options not being taken into account, dates needed to be formatted for the initialisation, etc).<p>That&#x27;s where I realised that even an active ecosystem as the angular one is not enough to produce quality libraries&#x2F;modules for basic stuff as a datepicker..
评论 #9419750 未加载
评论 #9419588 未加载
评论 #9419651 未加载
评论 #9419574 未加载
评论 #9419654 未加载
评论 #9420122 未加载
评论 #9420161 未加载
burembaabout 10 years ago
It&#x27;s actually shame that we&#x27;re already in 2015 and html date inputs are not standardized. <a href="http:&#x2F;&#x2F;caniuse.com&#x2F;#feat=input-datetime" rel="nofollow">http:&#x2F;&#x2F;caniuse.com&#x2F;#feat=input-datetime</a>
评论 #9419689 未加载
arxpoeticaabout 10 years ago
We built one recently for my company using Ractive.js and moment.js. Suprisingly, it was relatively easy to do (as far as working with date&#x2F;time&#x2F;timezone goes).
fougerejoabout 10 years ago
Missing a link to a demo somewhere on the github page :)
评论 #9419505 未加载
uptownhrabout 10 years ago
I really wish you can also add in a time picker on here. I don&#x27;t understand how most datepickers choose not to include a time picker as well.
评论 #9420292 未加载
SchizoDuckieabout 10 years ago
It&#x27;s a shame that in 2015 we still need to implement datepickers from scratch. Kudo&#x27;s on your effort :)
评论 #9419687 未加载
评论 #9419686 未加载
10dpdabout 10 years ago
Unfortunately this is completely inaccessible - try using the picker using tab, space, enter and arrow keys.
flavjabout 10 years ago
Looks good! Have you considered doing a datetime picker too?<p>I have not been able to find one using MD.
评论 #9419643 未加载
nickikabout 10 years ago
Its a shame something like a date picker needs to be framework specific.
评论 #9419724 未加载
lyschoeningabout 10 years ago
It looks nice enough, but it&#x27;s not Material Design.<p><a href="http:&#x2F;&#x2F;www.google.com&#x2F;design&#x2F;spec&#x2F;components&#x2F;pickers.html" rel="nofollow">http:&#x2F;&#x2F;www.google.com&#x2F;design&#x2F;spec&#x2F;components&#x2F;pickers.html</a>
评论 #9420313 未加载
评论 #9420302 未加载
M8about 10 years ago
Which AngularJS of two?<p>PS: looks nice!
评论 #9419646 未加载