Rick Waldron (2013-07-22T19:03:54.000Z)
domenic at domenicdenicola.com (2013-07-24T00:35:00.923Z)
On Monday, July 22, 2013, Jonas Sicking wrote: > The emails in this thread seems to indicate that we should in fact not > return Date objects ever (though like any rule, I could imagine there > being exceptions). Instead we should simply return numeric timestamps. > However, we should of course expect other APIs, such as ones in JS > libraries, will use Date objects. The best ways to deal with that is > through your rule 1) above. I.e. accepting Date objects in addition to > numeric timestamps in input. Yes, just as I said very early on in this thread (with regard to returned values). Is it possible to retroactively apply Allen's recommendation to existing APIs that accept one or the other, allowing them to accept both as the same? Is it worth doing so (it may not be)?