This commit is contained in:
@@ -114,7 +114,16 @@ export default function initialize() {
|
||||
}
|
||||
|
||||
//Store offset in locale data
|
||||
locale.timeZoneOffset = res.data.timeZoneOffset;
|
||||
//TODO: also need the other locale settings such as number and date formats etc to be added at server
|
||||
store.commit("setLocale", {
|
||||
decimalSeparator: ".",
|
||||
currencySymbol: "$",
|
||||
shortDate: "YYYY-MM-DD",
|
||||
shortTime: "hh:mm:ss A",
|
||||
shortDateAndTime: "YYYY-MM-DD hh:mm:ss A",
|
||||
timeZoneOffset: res.data.timeZoneOffset
|
||||
});
|
||||
|
||||
resolve();
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user