This commit is contained in:
2019-11-07 00:20:08 +00:00
parent 94efe2aa7a
commit 6c580001be

View File

@@ -148,25 +148,24 @@ export default function initialize() {
//for now just show the message //for now just show the message
window.$gz.eventBus.$emit( window.$gz.eventBus.$emit(
"notify-info", "notify-info",
"Time zone offset for this account is set to " + "Time zone offset for your account is set to " +
res.data.timeZoneOffset + res.data.timeZoneOffset +
" which doesn't match the local timezone offset of " + " which doesn't match the local timezone offset of " +
localOffset + localOffset
". You might want to adjust that under user settings"
); );
window.$gz.eventBus.$emit( // window.$gz.eventBus.$emit(
"notify-warning", // "notify-warning",
"this is a warning test" // "this is a warning test"
); // );
window.$gz.eventBus.$emit( // window.$gz.eventBus.$emit(
"notify-error", // "notify-error",
"this is an error test" // "this is an error test"
); // );
window.$gz.eventBus.$emit( // window.$gz.eventBus.$emit(
"notify-success", // "notify-success",
"this is a success test" // "this is a success test"
); // );
} }
//Store offset in locale data //Store offset in locale data