Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> how does that know to give me an object with a Date type instead of a Number

Ah, thanks, that makes sense; I'd forgotten that Javascript had a built-in Date type. (Strictly speaking, then, you ought to be able to write something like `{"time":new Date(...)}`, but that obviously doesn't work in practice.)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: