Simon Willison’s Weblog

Subscribe
Atom feed for date

1 item tagged “date”

2007

parseDateString function in dateparse.js return wrong date for ’2006-12-31’. I didn’t realise that you have to initialise a JavaScript Date object in a certain order; if you don’t weird bugs can result.

# 17th February 2007, 7:04 pm / date, javascript