]> source.dussan.org Git - nextcloud-server.git/commit
Fixed Sabre Node implementation to correctly return timestamps as int
authorVincent Petry <pvince81@owncloud.com>
Tue, 8 Apr 2014 09:57:33 +0000 (11:57 +0200)
committerVincent Petry <pvince81@owncloud.com>
Wed, 9 Apr 2014 13:46:51 +0000 (15:46 +0200)
commit4f11786a3d0d88a3bf43ae56cc9bb7a3023c83fb
treec1ca7e5764d7952aa4aee24a79f3e3ab4954e606
parentd8f56e3c00e9cdba37b1155a4314398c7a124103
Fixed Sabre Node implementation to correctly return timestamps as int

Negative timestamps were returned as string and were confusing other

Sabre API like Sabre_DAV_Property_GetLastModified.

This fix makes sure the timestamp is returned as int when defined.
lib/private/connector/sabre/node.php