summaryrefslogtreecommitdiff
path: root/smarty_bit/modifier.bit_short_datetime.php
blob: a46ff5085d2d4e8b63e93c106dce1d83d85ba4a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */

/**
 * required setup
 */
require_once $smarty->_get_plugin_filepath('modifier','bit_date_format');

/**
 * smarty_modifier_bit_short_datetime
 */
function smarty_modifier_bit_short_datetime($string)
{
	global $gBitSystem;
	return smarty_modifier_bit_date_format($string, $gBitSystem->get_short_datetime_format(), null, "%a %d ".tra('of')." %b, %Y[%H:%M %Z]");
}

/* vim: set expandtab: */

?>