momentjs dates
Hi,
We are using moment.js dates in our project. Angular strap date picker is using plain javasript Date object. That makes us convert that date back and forward for each place where we use it.
Is there a way to use moment.js object, or is there a plan to support it? Would you accept a pull request with that support implemented? What would be the acceptance criteria for such support?
Thanks. demee
Checkout commit https://github.com/mgcrea/angular-strap/commit/4050364609323ebad72c7463d23c39a719d0af96, which introduced the possibility to have other date parsers/formatters. @tepez might have some more details on how to do it.
Any luck implementing this? Maybe you can share a sample of how it works for others to see?
You should have a look at this plunker from https://github.com/mgcrea/angular-strap/pull/1163#issuecomment-63537117
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.