mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-01 04:41:37 +01:00
move .make_timestamp.php to shared.make_timestamp.php
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* Purpose: format datestamps via strftime
|
||||
* -------------------------------------------------------------
|
||||
*/
|
||||
require_once SMARTY_DIR . 'plugins/.make_timestamp.php';
|
||||
require_once SMARTY_DIR . 'plugins/shared.make_timestamp.php';
|
||||
function smarty_modifier_date_format($string, $format="%b %e, %Y")
|
||||
{
|
||||
return strftime($format, smarty_make_timestamp($string));
|
||||
|
||||
Reference in New Issue
Block a user