Re:Show HN: Made my own date picker for AngularJS
by Bahamut on Wednesday April 22, 2015 @08:56AM
(#9420009)
It should be mentioned, the UI Bootstrap one has a lot of fixes in master currently that addresses the issues - we are close to the 0.13.0 release (after work by a new core team that was assembled a month and a half ago), which should address the problems with Angular 1.3 present in 0.12. Angular 1.4 compatibility should be quick from there, along with massive performance improvements in 0.13.1.
Re:Show HN: Made my own date picker for AngularJS
by robinson7d on Wednesday April 22, 2015 @09:34AM
(#9420257)
It's not a particularly great wrapper (I've had to handle a couple minor issues in a further wrapper directive), but for the two-pickers situation where you want a range, I've recently used https://github.com/fragaria/angular-daterangepicker
Which is itself just a directive wrapper around Dan Grossman's DateRange Picker for Bootstrap https://github.com/dangrossman/bootstrap-daterangepicker
Of course, those have a lot of dependencies, so if the app isn't using bootstrap/moment/etc. it isn't as useful.
Re:Show HN: Made my own date picker for AngularJS
by IkmoIkmo on Wednesday April 22, 2015 @12:49PM
(#9421702)
Same experience here. Caught me by surprise, thought I'd just inject one of many solid ones... Ended up building something custom myself (which is a bit of a pain as dates in JS isn't the most straightforward thing in the world).
My boss thinks I'm an idiot because I struggled with ui-datepicker in angular (being used in a search field). I had to over-explain that it is broken and still noone believes me when I tell them that the Jenkins build gives a different result from the same build but on localhost.
The second time around went better as I was forewarned, but then I had to have 2 datepickers (from and to dates) and that broke it scope-wise.