Function smarty_modifier_date_format
Smarty date_format modifier plugin
Type: modifier
Name: date_format
Purpose: format datestamps via strftime
Input:
- string: input date string - format: strftime format for output - default_date: default date if $string is empty
Package: Smarty\PluginsModifier
Author: Monte Ohrt
Uses:
Link: date_format (Smarty online manual)
Located at plugins/smarty/smarty_source/plugins/modifier.date_format.php
Author: Monte Ohrt
Uses:
smarty_make_timestamp()
Link: date_format (Smarty online manual)
Located at plugins/smarty/smarty_source/plugins/modifier.date_format.php
string |
$string |
input date string |
string |
$format = null |
strftime format for output |
string |
$default_date = '' |
default date if $string is empty |
string |
$formatter = 'auto' |
either 'strftime' or 'auto' |
string
|
|void |