mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -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
|
|
}
|
|
}
|