use timezone everywhere

This commit is contained in:
Patrick Nagurny
2019-06-27 14:11:05 -04:00
parent ca871a8021
commit b602cb1740
21 changed files with 150 additions and 114 deletions

View File

@@ -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;
}
}