in src/datetime/DateTime/Timestamp.php [101:115]
public static function parse(
Zone $timezone,
string $raw_string,
?Instant $relative_to = null,
): this {
using new _DateTime\ZoneOverride($timezone);
if ($relative_to is nonnull) {
$relative_to = $relative_to->getTimestamp()->getSeconds();
}
$raw = \strtotime($raw_string, $relative_to);
if ($raw === false) {
throw new Exception('Failed to parse date/time: %s', $raw_string);
}
return self::fromRaw($raw);
}