splitbrain / dokuwiki-plugin-sync

Sync DokuWiki namespaces with a remote wiki on request
http://www.dokuwiki.org/plugin:sync
17 stars 17 forks source link

remote synchronization time #70

Closed collocatio closed 9 months ago

collocatio commented 9 months ago

After upgrading to 2024-02-06 "Kaos" the synchronization is broken:

/sync/admin.php $item['remote']['mtime'] is no longer a timestamp but an object

object(IXR\DataType\Date)#787 (1) {
  ["dateTime":"IXR\DataType\Date":private]=>
  object(DateTime)#788 (3) {
    ["date"]=>
    string(26) "2024-02-08 12:09:16.000000"
    ["timezone_type"]=>
    int(1)
    ["timezone"]=>
    string(6) "+01:00"
  }
}