New Library
This commit is contained in:
parent
5c6f6c97b7
commit
c479658f0b
83 changed files with 5788 additions and 0 deletions
16
server/vendor/php-opencloud/common/tests/unit/Common/DateTime.php
vendored
Normal file
16
server/vendor/php-opencloud/common/tests/unit/Common/DateTime.php
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace OpenCloud\Test\Common;
|
||||
|
||||
class DateTime extends \DateTime
|
||||
{
|
||||
public static function factory($time)
|
||||
{
|
||||
return new static($time);
|
||||
}
|
||||
|
||||
public function toIso8601()
|
||||
{
|
||||
return $this->format(self::ISO8601);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue