moment-timezone
moment-timezone copied to clipboard
TypeScript: moment and moment-timezone don't play well together
Several things here:
- moment-timezone doesn't have TS support like moment does (I see this is a separate issue)
- current moment-timezone definitions don't include format()
- current moment-timezone definitions fail compilation (MomentTimeZoneFormat is not defined)
- momentTZ.tz() produces a Moment which is incompatible with moment() (Operator '<=' cannot be applied to types 'Moment' and 'Moment'.)