You've already forked openaccounting-web
mirror of
https://github.com/openaccounting/oa-web.git
synced 2025-12-09 09:01:24 +13:00
update org timezone
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user