<?php
/***************************************************************************
- * Copyright (C) 2003-2006 Polytechnique.org *
+ * Copyright (C) 2003-2007 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
}
if ( $t != -1 ) {
- return strftime($f , $t);
+ return utf8_encode(strftime($f , $t));
} else {
require_once('Date.php');
$date = new Date($d);
- return $date->format($f);
+ return utf8_encode($date->format($f));
}
}
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>