Commit 900acc3c authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

Fix incorrect datetime format string

parent 8f5845fd
......@@ -61,7 +61,8 @@ class DoorAccessTest extends AuthenticatesWithApplicationTestCase
// Just add an open mode schedule, we test the actual auth logic elsewhere.
// Here we are testing integration with the route
$date = Carbon::now('America/Los_Angeles');
$dateString = $date->format('Ymd') . 'T' . $date->format('Gis');
$dateString = $date->format('Ymd') . 'T' . $date->format('His');
dd($dateString);
$t = <<<RSET
DTSTART;TZID=America/Los_Angeles:$dateString
RRULE:FREQ=MINUTELY;INTERVAL=2;COUNT=3
......
......@@ -23,7 +23,7 @@ class RecurrenceSetLibraryConnectorTest extends TestCase
{
parent::setUp();
$this->begin = Carbon::parse('2020-05-17 17:49:10', 'America/Los_Angeles');
$this->beginString = $this->begin->format('Ymd') . 'T' . $this->begin->format('Gis');
$this->beginString = $this->begin->format('Ymd') . 'T' . $this->begin->format('His');
$this->setRepository = new PhpRruleRecurrenceSet();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment