We have implement locale timezone formatting using BitDate() class.
For easy access, always use:
<?php
$gBitSystem->mServerTimestamp->strtotime(...);
and
$gBitSystem->mServerTimestamp->strftime(...);
as straight replacements.
?>
Inside Smarty templates, use the:
<?php
{$timestamp|bit_short_datetime}
?>
Other formats are:
- bit_date_format
- bit_long_datetime
- bit_short_date
- bit_short_time
- bit_long_date
- bit_long_time
- bit_short_datetime
Permalink
(referenced by: 0 posts references: 0 posts)
|
|