Open j4ques opened 8 years ago
@delphiactual - yearUnit comes from timeUnits
- https://github.com/siddii/angular-timer/blob/master/app/js/_timer.js#L236
which is from i18nService
- https://github.com/siddii/angular-timer/blob/master/app/js/_timer.js#L175
Can you see if secondUnit
or minuteUnit
is working? If not, then something might be broken due to dependencies.
The version used for HumanizeDuration in the website is https://github.com/siddii/angular-timer/blob/master/bower_components/humanize-duration/bower.json#L14
Worth the shot
Hello,
I've tried to use this example from your example website:
<timer interval="1000" language="fr" >{{yearUnit}}</timer>
Unfortunately, I only get "undefined" as result for this. I've imported humanize-duration.js, moment-with-locales.js and angular-timer.js.
When I try this:
<timer countdown="10" interval="1000">{{countdown}}</timer>
The countdown is being correctly presented. Am I missing something?
Thanks a lot.