Skip to content

Commit 3736e66

Browse files
committed
Don't set moment locale.
1 parent cc4540c commit 3736e66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/js/i18nService.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ app.factory('I18nService', function() {
2121
this.language = this.fallback;
2222
}
2323

24+
// Require user to set moment locale independently of angular-timer.
2425
//moment init
25-
moment.locale(this.language); //@TODO maybe to remove, it should be handle by the user's application itself, and not inside the directive
26+
//moment.locale(this.language); //@TODO maybe to remove, it should be handle by the user's application itself, and not inside the directive
2627

2728
//human duration init, using it because momentjs does not allow accurate time (
2829
// momentJS: a few moment ago, human duration : 4 seconds ago

0 commit comments

Comments
 (0)