Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

Map legacy time zone aliases without the legacy tz database (#479)

Sandeep Mainali8a04f3fbfb4b
diff --git a/app/Support/Timezone.php b/app/Support/Timezone.php
index 13a8cd4a0..fa9edd4f4 100644
--- a/app/Support/Timezone.php
+++ b/app/Support/Timezone.php
@@ -24,10 +24,6 @@ class Timezone
return $value;
}
- if (! in_array($value, DateTimeZone::listIdentifiers(DateTimeZone::ALL_WITH_BC), true)) {
- return self::DEFAULT;
- }
-
$mapped = IntlTimeZone::getIanaID($value);
return is_string($mapped) && in_array($mapped, $canonical, true)