mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 12:50:38 -07:00
7 lines
160 B
TypeScript
7 lines
160 B
TypeScript
export class DateWithTimezone extends Date {
|
|
constructor (init: string, timezone: number) {
|
|
super(init)
|
|
this.getTimezoneOffset = () => timezone
|
|
}
|
|
}
|