update org timezone

This commit is contained in:
Patrick Nagurny
2019-06-27 16:26:31 -04:00
parent b602cb1740
commit 5b720b79c4
5 changed files with 109 additions and 0 deletions

View File

@@ -164,6 +164,15 @@ export class Util {
return m.toDate();
}
static getTimezones(): string[] {
let timezones = [''];
return timezones.concat(moment.tz.names());
}
static getDefaultTimezone(): string {
return defaultTz;
}
static newGuid() {
let arr = new Uint8Array(16);
window.crypto.getRandomValues(arr);