Initial Commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
class Zend_View_Helper_FormatData extends Zend_View_Helper_Abstract
|
||||
{
|
||||
public function FormatData($data,$format){
|
||||
$data = new DateTime($data);
|
||||
return $data -> format($format);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user