UTC to local time
This commit is contained in:
parent
ceab1b78ab
commit
a154a1236d
@ -8,7 +8,7 @@
|
||||
$tz = new DateTimeZone('UTC');
|
||||
$completed = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z',$mailshot['completed'],$timezone=$tz);
|
||||
if ( $completed )
|
||||
print format_date( $completed->getTimestamp(), 'custom', '\s\e\n\t \o\n j/M/Y \a\t ga' );
|
||||
print format_date( $completed->getTimestamp(), 'custom', '\s\e\n\t \o\n j/M/Y \a\t g:ia' );
|
||||
?></small></h3>
|
||||
<blockquote>
|
||||
<?php print strip_tags( preg_replace( '/\{\{[^\{]*\}\}/', '…', text_summary( $mailshot['campaign']['d']['body'], 'full_html' ) ) ); ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user