jijo-paulose / datawiki

Automatically exported from code.google.com/p/datawiki
0 stars 0 forks source link

When saving a record via the RESTful API the created_at DateTime is one secon off #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Posting data to create a new record using the prescribed method
2. Upon a successful record creation the return code in the XML contains "date" 
in the headers. I think this should be the date time for the creation of the 
record. However, it is one second after what the record indicates.
3. The response in the XML is delayed one second from when the record is 
created.

What is the expected output? What do you see instead?
I would expect the date returned to indicate the creation time for a post and 
modification time for a put.

What browser were you using?
XML API

Please provide any additional information below.

Original issue reported on code.google.com by benh...@gmail.com on 21 Dec 2010 at 7:10