nickva commented on issue #1845: Fix end_time field in /_replicate response
URL: https://github.com/apache/couchdb/pull/1845#issuecomment-452440798
 
 
   To reproduce followed instructions in #1841 
   
   ```
   curl -X PUT http://adm:[email protected]:15984/baseball_1
   curl -X PUT http://adm:[email protected]:15984/baseball_2
   curl -H 'Content-Type: application/json' -X POST 
"http://adm:[email protected]:15984/baseball_1/"; -d '{}'
   curl -H 'Content-Type: application/json' -X POST 
"http://adm:[email protected]:15984/_replicate"; -d 
'{"source":{"url":"http://adm:[email protected]:15984/baseball_1"},"target":{"url":"https://adm:[email protected]:15984/baseball_2"}}'
 | jq '.'
   ```
   
   Before I got:
   
   ```
         "start_time": "Wed, 09 Jan 2019 01:05:27 GMT",
         "end_time": "Tue, 08 Jan 2019 20:10:29 GMT",
   ```
   
   After
   
   ```
         "start_time": "Tue, 08 Jan 2019 20:16:37 GMT",
         "end_time": "Tue, 08 Jan 2019 20:16:40 GMT",
   ```
   
   With the times being 
   
   ```
    $ date
   Tue Jan  8 15:29:19 EST 2019
   
   $ date -u
   Tue Jan  8 20:29:20 UTC 2019
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to