{"record":{"id":"706c85ccb3ae4ecd","repo":"briannesbitt/Carbon","slug":"unknown-timezone-for-offset-seconds","errorCode":null,"errorMessage":"Unknown timezone for offset {} seconds.","messagePattern":"Unknown timezone for offset (.+?) seconds\\.","errorType":"exception","errorClass":"Carbon\\Exceptions\\InvalidTimeZoneException","httpStatus":null,"severity":"error","filePath":"src/Carbon/CarbonTimeZone.php","lineNumber":242,"sourceCode":"            }\n        }\n\n        return null;\n    }\n\n    /**\n     * Returns a new CarbonTimeZone object using the region string instead of offset string.\n     */\n    public function toRegionTimeZone(?DateTimeInterface $date = null): ?self\n    {\n        $timezone = $this->toRegionName($date);\n\n        if ($timezone !== null) {\n            return new static($timezone);\n        }\n\n        if (Carbon::isStrictModeEnabled()) {\n            throw new InvalidTimeZoneException('Unknown timezone for offset '.$this->getOffset($this->resolveCarbon($date)).' seconds.');\n        }\n\n        return null;\n    }\n\n    /**\n     * Cast to string (get timezone name).\n     *\n     * @return string\n     */\n    public function __toString()\n    {\n        return $this->getName();\n    }\n\n    /**\n     * Return the type number:\n     *","sourceCodeStart":224,"sourceCodeEnd":260,"githubUrl":"https://github.com/briannesbitt/Carbon/blob/b13f05955dcfd7da71d60af745fd148cbdb73505/src/Carbon/CarbonTimeZone.php#L224-L260","documentation":"Error \"Unknown timezone for offset {} seconds.\" thrown in briannesbitt/Carbon.","triggerScenarios":"Thrown at src/Carbon/CarbonTimeZone.php:242 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b13f05955dcfd7da71d60af745fd148cbdb73505","analyzedAt":"2026-08-17T04:40:56.953Z","schemaVersion":2},"datasetVersion":"2026-08-17T09:17:11.063Z"}