getTimezoneOffset throws exception
curby opened this issue · 2 comments
curby commented
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.
NodeGuy commented
Looks like you have a typo: Offest
should be Offset
.
curby commented
Ha, I'm dumb. Sorry about that.