This commit is contained in:
@@ -232,14 +232,7 @@ export default {
|
||||
//console.log(new Date().toLocaleTimeString('sv-SE',{timeZone:"America/Vancouver"}));
|
||||
//console.log(new Date().toLocaleTimeString('sv-SE',{timeZone:"UTC"}));
|
||||
get() {
|
||||
if (this.value) {
|
||||
//Ok, this looks weird but sv-SE is the same format as iso8601 format required so if this breaks that's why
|
||||
return new Date(this.value).toLocaleTimeString("sv-SE", {
|
||||
timeZone: this.timeZoneName
|
||||
});
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
return window.$gz.locale.utcDateStringTo8601TimeOnlyString(this.value);
|
||||
},
|
||||
set(value) {
|
||||
//this.value = value;
|
||||
|
||||
Reference in New Issue
Block a user