|
[Php-blog-plugin-cvs]
additional_plugins/serendipity_event_outdate_entries
ChangeLog, NONE, 1.1 serendipity_event_outdate_entries.php,
1.12, 1.13
From: Garvin Hicking <garvinhicking@us...> - 2012-05-03 00:33
|
Update of /cvsroot/php-blog/additional_plugins/serendipity_event_outdate_entries
In directory vz-cvs-3.sog:/tmp/cvs-serv25936/serendipity_event_outdate_entries
Modified Files:
serendipity_event_outdate_entries.php
Added Files:
ChangeLog
Log Message:
gitclone.sh autocommit
Index: serendipity_event_outdate_entries.php
===================================================================
RCS file: /cvsroot/php-blog/additional_plugins/serendipity_event_outdate_entries/serendipity_event_outdate_entries.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- serendipity_event_outdate_entries.php 29 Mar 2010 07:38:15 -0000 1.12
+++ serendipity_event_outdate_entries.php 3 May 2012 00:33:22 -0000 1.13
@@ -29,7 +29,7 @@
'php' => '4.1.0'
));
$propbag->add('groups', array('FRONTEND_ENTRY_RELATED'));
- $propbag->add('version', '1.5');
+ $propbag->add('version', '1.6');
$propbag->add('stackable', false);
$this->dependencies = array('serendipity_event_entryproperties' => 'keep');
}
@@ -109,7 +109,7 @@
WHERE e.isdraft = 'false'
AND ep.property = 'ep_" . $timeout_custom . "'
AND ep.value != ''
- AND ep.value < " . time();
+ AND UNIX_TIMESTAMP(ep.value) < " . time();
$rows = serendipity_db_query($sql);
if (is_array($rows)) {
--- NEW FILE: ChangeLog ---
1.6:
---
Custom entry property field date fix:
Use UNIX_TIMESTAMP() to allow date formate like YYYY-MM-DD, like documented in the plugin.
Previously it worked only with unix timestamps, which was not a good user experience. ;)
|
| Thread | Author | Date |
|---|---|---|
| [Php-blog-plugin-cvs] additional_plugins/serendipity_event_outdate_entries ChangeLog, NONE, 1.1 serendipity_event_outdate_entries.php, 1.12, 1.13 | Garvin Hicking <garvinhicking@us...> |