Bug #1425

What is the format of version timestamps

Added by Christos Stathis over 12 years ago. Updated about 11 years ago.

Status:Closed Start date:10/04/2011
Priority:Medium Due date:
Assignee:Antony Chazapis % Done:

0%

Category:Pithos Spent time: -
Target version:-

Description

Object level GET with version=list returns {"versions": 14113, 1317390330.4284201}
The timestamp 's format does not seem valid

History

#1 Updated by Antony Chazapis over 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Antony Chazapis

The time returned is in standard UNIX/POSIX time format (http://en.wikipedia.org/wiki/Unix_time).
We actually use the time.time() python function, which: "Return the time as a floating point number expressed in seconds since the epoch, in UTC."

Subsecond precision should be useful for syncing algorithms, etc. For just viewing the timestamp, you can safely strip the decimal part (convert to int).

#2 Updated by Antony Chazapis over 12 years ago

  • Status changed from Resolved to Closed
  • Target version set to 0.7.8

#3 Updated by Vangelis Koukis about 11 years ago

  • Project changed from Pithos to Synnefo
  • Target version deleted (0.7.8)

#4 Updated by Vangelis Koukis about 11 years ago

  • Category set to Pithos

Also available in: Atom PDF