-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
datetime-utc dynamically #29
Comments
Currently, no. The timezone is set when linked: https://github.com/eight04/angular-datetime/blob/master/src/directive.js#L199 . It is like a switch to change between Should we implement it? |
For now i am using ng-if to switch between 2 versions of the directive, which is not ideal. I might do a pull to add support for it dynamically. It would be very useful if the datetime-utc directive could be triggered by a property. |
Maybe we can create a binding ($watch) if <input ... datetime-utc="aVar"> Then we create a binding to scope.aVar. |
Fixed in 3.2.0. |
I need the ability to display the time in local time or utc based on a user selection. Is there currently a way to dynamically change the timezone of the input field?
The text was updated successfully, but these errors were encountered: