Skip to content

Commit

Permalink
add timezone setting for Text_Plain_Dateformat
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgsoc2013 committed Jun 18, 2013
1 parent cdfb0b8 commit f4e230b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ public function testGetMIMESubtype()
*/
public function testApplyTransformation()
{
//add timezone setting before time transformation
date_default_timezone_set('UTC');
$timestamp = 12345;
$options = array(0);
$meta = new Text_Plain_Dateformat_Meta();
Expand Down

0 comments on commit f4e230b

Please sign in to comment.