<?php

namespace ActiveCollab\DateValue;

use Carbon\Carbon;

/**
 * @package ActiveCollab\DateValue
 */
class DateValue extends Carbon implements DateValueInterface
{
}
<?php

namespace ActiveCollab\DateValue;

use Carbon\Carbon;

/**
 * @package ActiveCollab\DateValue
 */
class DateValue extends Carbon implements DateValueInterface
{
    /**
     * Create a new DateValue instance.
     *
     * @param string              $time
     * @param \DateTimeZone|string $tz
     */
    public function __construct($time = null, $tz = null)
    {
        if (empty($tz)) {
            $tz = 'UTC';
        }

        parent::__construct($time, $tz);
    }
}
Make sure that we always use UTC when working with dates
Make sure that we always use UTC when working with dates
