Don't override all Moment locales to English
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 17 May 2016 02:51:25 +0000 (04:51 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 17 May 2016 02:55:17 +0000 (04:55 +0200)
commitd79cae683e18969d35c71aa760f89fdbb1115721
tree81ec8f3a5769c007d62f9cd553d99adc620b82fd
parentc434f846378170ef4b6baf05fc513268086ecc12
Don't override all Moment locales to English

Calling moment.locale() not only defines a locale, it also sets the
current one. The call at the top of moment-locale-overrides.js would
always set it to English.

Follow-up to c81ab8ae5f89056d23a4b0d36066120b9701d07e.

Bug: T135462
Change-Id: Ie1b70bc410ff0c436bed5bcbfffb8d4433a1923f
resources/Resources.php
resources/src/moment-dmy.js [new file with mode: 0644]
resources/src/moment-locale-overrides.js