You've already forked openaccounting-web
mirror of
https://github.com/openaccounting/oa-web.git
synced 2025-12-10 15:10:42 +13:00
use timezone everywhere
This commit is contained in:
@@ -5,6 +5,7 @@ export class Org {
|
||||
name: string;
|
||||
currency: string;
|
||||
precision: number;
|
||||
timezone: string;
|
||||
constructor(options: any = {}) {
|
||||
this.id = options.id;
|
||||
this.inserted = options.inserted ? new Date(options.inserted) : null;
|
||||
@@ -12,5 +13,6 @@ export class Org {
|
||||
this.name = options.name;
|
||||
this.currency = options.currency;
|
||||
this.precision = options.precision && parseInt(options.precision);
|
||||
this.timezone = options.timezone;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user