Show يناير to a Syrian user and the app feels like it was made somewhere else. Get the locale, the time zone and the first day of the week right. It takes three settings, and here is the tested code.
Syria uses the Levantine month names: كانون الثاني، شباط، آذار، نيسان and so on. In JavaScript, the locale ar-SY gives you these names, while plain ar gives يناير and فبراير. Flutter's intl package has no ar_SY data at all and falls back to plain ar, so mobile apps need the fix in our Flutter guide.
Two more settings matter. Syria abandoned daylight saving time in 2022: the tz database release 2022e, published on 11 October 2022, moved Asia/Damascus to UTC+3 all year, with no fall-back on 28 October 2022. And in the Unicode CLDR data that browsers use, the Syrian week starts on Saturday with a Friday and Saturday weekend.
| Month | ar-SY (Syria) | ar (default) |
|---|---|---|
| 1 | كانون الثاني | يناير |
| 2 | شباط | فبراير |
| 3 | آذار | مارس |
| 4 | نيسان | أبريل |
| 5 | أيار | مايو |
| 6 | حزيران | يونيو |
| 7 | تموز | يوليو |
| 8 | آب | أغسطس |
| 9 | أيلول | سبتمبر |
| 10 | تشرين الأول | أكتوبر |
| 11 | تشرين الثاني | نوفمبر |
| 12 | كانون الأول | ديسمبر |
Always pass the locale and the time zone. A phone's zone setting can be wrong, and a Syrian user abroad still needs Damascus times for things that happen in Damascus:
// Dates for Syrian users. Two settings matter: the locale and the time zone.
// "ar-SY" gives the Levantine month names (كانون الثاني, شباط ...); plain "ar" gives يناير, فبراير.
// "Asia/Damascus" is UTC+3 all year since tzdata 2022e (no more winter time).
const TZ = "Asia/Damascus";
function formatSyrianDate(date, { digits = "arab", withTime = false } = {}) {
return new Intl.DateTimeFormat(`ar-SY-u-nu-${digits}`, {
dateStyle: "long",
...(withTime ? { timeStyle: "short" } : {}),
timeZone: TZ, // not the device zone: it can be set wrong, or the user is abroad
}).format(date);
}
const LEVANTINE_MONTHS = Array.from({ length: 12 }, (_, m) =>
new Intl.DateTimeFormat("ar-SY", { month: "long", timeZone: "UTC" }).format(new Date(Date.UTC(2026, m, 15))));
function damascusOffset(date) {
return new Intl.DateTimeFormat("en", { timeZone: TZ, timeZoneName: "longOffset" })
.formatToParts(date).find((p) => p.type === "timeZoneName").value; // "GMT+03:00"
}
11 test cases pass: Arabic-Indic and Western digits, date with time (10:05 UTC shows as ١:٠٥ م in Damascus), the twelve month names, UTC+2 in January 2022 and UTC+3 in January and July 2026, the Saturday week start and Friday-Saturday weekend, and أمس for yesterday.
كانون الثاني، شباط، آذار، نيسان، أيار، حزيران، تموز، آب، أيلول، تشرين الأول، تشرين الثاني، كانون الأول. They are the Levantine names, used in Syria, Lebanon, Jordan, Palestine and Iraq.
Output checked with Node 24 (ICU 78) on 16 November 2026. Older browsers ship older locale data; test on the devices your users have.
We build Arabic-first apps and websites. Tell us about yours.