couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiril Stankov <>
Subject Strange issue with dates
Date Fri, 06 Feb 2015 00:07:25 GMT

I have two update handlers:

||"|SetCancelled|":|"function(doc,req) {doc['cancelled']=true; doc['cancelledDate'];
return [doc, 'ok'];}"|,
"|SetLastVisit|":|"function(doc,req) {doc['lastvisit']; return [doc, 'ok'];}"


How can it be one is writing the date as Unix date, and the other as 
Java Date??

|    "|cancelled|":|true|,

I call them one after the other?

Thanks in advance!
*With best regards,*
Kiril Stankov

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message