teem icon indicating copy to clipboard operation
teem copied to clipboard

Moment.js isn't using language defined in angular-translate

Open llopv opened this issue 8 years ago • 3 comments

Neither $translate.proposedLanguage() nor $translate.use() have the current language when called at https://github.com/P2Pvalue/teem/blob/master/src/js/app.js#L85.

llopv avatar Apr 26 '16 22:04 llopv

@llopv do you have more info about why moment.js did not do the job?

atd avatar Apr 27 '16 07:04 atd

It simply does not provide a detect language function; so, we have to trust on angular-translate's one or write our own.

llopv avatar Apr 28 '16 07:04 llopv

Or improving angular-translate's? :wink:

atd avatar Apr 28 '16 07:04 atd