NodeGuy/server-date

getTimezoneOffset throws exception

curby opened this issue · 2 comments

Adding this to the end of the last <script> element in example.html:

alert(ServerDate.getTimezoneOffest());

throws this in Chrome's Console:

Uncaught TypeError: undefined is not a function

This might not be considered a problem in ServerDate as it just does what Date would do.

Looks like you have a typo: Offest should be Offset.

Ha, I'm dumb. Sorry about that.