Skip to content

Fix session persistence bug, add more date helpers

Choose a tag to compare

@acoulton acoulton released this 17 Oct 16:47
7fdedf1
  • Add DateIntervalUtils to stringify a DateInterval, and DateIntervalFactory for shorthand creation
  • Add DateTimeImmutableFactory::zeroMicros() to create / modify a DT with microseconds truncated to zero
  • Add DateTimeImmutableFactory::fromIso() to strictly parse ISO 8601 / RFC 3339 date-time strings
  • Fix bug where devices with long user agents generated a database exception when attempting to create a session.