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:
parent
6f7d095e3f
commit
e8b60fc3d8
@ -11,7 +11,7 @@
|
|||||||
* phpBB custom extensions to the PHP DateTime class
|
* phpBB custom extensions to the PHP DateTime class
|
||||||
* This handles the relative formats phpBB employs
|
* 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
|
* 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();
|
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.
|
* 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().
|
* @param string $time String in a format accepted by strtotime().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user