what is this formatting you're using? it is really difficult to read all
those |||

On Thu, Feb 5, 2015 at 10:07 PM, Kiril Stankov <ki...@open-net.biz> wrote:

> Hi,
>
> I have two update handlers:
>
> ||"|SetCancelled|":|"function(doc,req) {doc['cancelled']=true;
> doc['cancelledDate']=Date.now(); return [doc, 'ok'];}"|,
> "|SetLastVisit|":|"function(doc,req) {doc['lastvisit']=Date.now(); return
> [doc, 'ok'];}"
>
>
> |||
>
> How can it be one is writing the date as Unix date, and the other as Java
> Date??
>
> |    "|cancelled|":|true|,
>    "|cancelledDate|":|"2015-02-03T00:34:19.654Z"|,
>    "|lastvisit|":|1423180381094||
>
>
> I call them one after the other?
>
> Thanks in advance!
> ------------------------------------------------------------------------
> *With best regards,*
> Kiril Stankov
>
>

Reply via email to