spencermountain / spacetime

A lightweight javascript timezone library
http://spacetime.how/
Other
3.97k stars 183 forks source link

Allow `goto` to accept `null` #270

Closed ericadamski closed 3 years ago

ericadamski commented 3 years ago

Currently the documentation here: https://github.com/spencermountain/spacetime#timezones specifies that we should be allowed to pass null into Spacetime.goto, the types do not support this. This commit allows the types to accept a null parameter into Spacetime.goto

spencermountain commented 3 years ago

thank you!