Commit b1fcc71c authored by Gijs Hendriksen's avatar Gijs Hendriksen
Browse files

Merge branch 'fix/moment-locale' into 'master'

Fix moment locale selection in release builds

See merge request !163
parents cbdf5119 2aad2326
......@@ -106,8 +106,8 @@ android {
applicationId "com.thaliapp"
minSdkVersion 19
targetSdkVersion 22
versionCode 421
versionName "2.3.0"
versionCode 422
versionName "2.3.1"
ndk {
abiFilters "armeabi-v7a", "x86"
}
......
......@@ -56,7 +56,7 @@ class Main extends Component {
constructor() {
super();
if (locale.startsWith('nl')) {
Moment.locale(locale);
Moment.locale('nl');
} else {
Moment.locale('en');
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment