]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/LinkDB.php
cleanup: use DateTime to format dates
[github/shaarli/Shaarli.git] / application / LinkDB.php
index 9f4d3e3cc7b4fabb23750fda02427ad23612b14d..9488ac4582532f770da99072c52f0f02b12bea0a 100644 (file)
@@ -32,6 +32,9 @@ class LinkDB implements Iterator, Countable, ArrayAccess
     // Links are stored as a PHP serialized string
     private $_datastore;
 
+    // Link date storage format
+    const LINK_DATE_FORMAT = 'Ymd_His';
+
     // Datastore PHP prefix
     protected static $phpPrefix = '<?php /* ';