<?php
/**
* Format locale based strings, such as dates and money
*
* @author Cory Marsh
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
*/
class Locale
{
private static $_locale;
public static function setLocale($locale)
{
self::$_locale = $locale;
}
public static function money($value)
{
return money_format('%i', $value);
}
public static function date($timestamp)
{
return date('D, M j Y', $timestamp);
}
}
?>