Closed GoogleCodeExporter closed 9 years ago
Expiration times
----------------
Some commands involve a client sending some kind of expiration time
(relative to an item or to an operation requested by the client) to
the server. In all such cases, the actual value sent may either be
Unix time (number of seconds since January 1, 1970, as a 32-bit
value), or a number of seconds starting from current time. In the
latter case, this number of seconds may not exceed 60*60*24*30 (number
of seconds in 30 days); if the number sent by a client is larger than
that, the server will consider it to be real Unix time value rather
than an offset from current time.
For emphasis:
if the number sent by a client is larger than
that, the server will consider it to be real Unix time value rather
than an offset from current time.
To repeat:
If it's over 30 days, it treats it like a datetime in unix timestamp format. So
you can set larger values, but you have to treat them differently.
Original comment by dorma...@rydia.net
on 28 Jun 2013 at 11:09
Original issue reported on code.google.com by
CTwene...@gmail.com
on 28 Jun 2013 at 10:03