X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/9501f181f621e9023a9cb27cbbc85afb2743eeca..a730b8aac9a7d644014f501e24151fa8ff4af5b7:/lib/notestorage.php diff --git a/lib/notestorage.php b/lib/notestorage.php index 2ae9fcb..275374c 100644 --- a/lib/notestorage.php +++ b/lib/notestorage.php @@ -120,6 +120,11 @@ class NoteStorage $note->{'last-metadata-change-date'} = date('c'); } + if (!isset($note->{'create-date'})) { + //no idea how to get the microseconds in there + $note->{'create-date'} = date('c'); + } + if (isset($noteUpdate->{'node-content'}) && $note->{'note-content-version'} == 0 ) {