1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[feature/new-tz-handling] Use phpbb_datetime rather than phpbb_DateTime.

PHPBB3-9558
This commit is contained in:
Chris Smith 2010-04-18 22:26:33 +01:00 committed by Oleg Pudeyev
parent 6f7d095e3f
commit e8b60fc3d8

View File

@ -11,7 +11,7 @@
* phpBB custom extensions to the PHP DateTime class
* This handles the relative formats phpBB employs
*/
class phpbb_DateTime extends DateTime
class phpbb_datetime extends DateTime
{
/**
* String used to wrap the date segment which should be replaced by today/tomorrow/yesterday
@ -29,7 +29,7 @@ class phpbb_DateTime extends DateTime
static protected $format_cache = array();
/**
* Constructs a new instance of phpbb_DateTime, expanded to include an argument to inject
* Constructs a new instance of phpbb_datetime, expanded to include an argument to inject
* the user context and modify the timezone to the users selected timezone if one is not set.
*
* @param string $time String in a format accepted by strtotime().