Commit e933678

Ali Aghdam <betteraliaghdam@gmail.com>
2024-11-26 17:14:35
Turkey timezone offset support (#68)
* feat: add turkey timezone offset * Update time-of-commit.ts --------- Co-authored-by: Anton Medvedev <anton@medv.io>
1 parent 96b7ce4
Changed files (1)
badges
time-of-commit
badges/time-of-commit/time-of-commit.ts
@@ -178,6 +178,7 @@ function guessTimezone(user: User) {
     { pattern: /\bwarsaw\b|\bpoland\b/, offset: 2 },
     { pattern: /\bzagreb\b|\bcroatia\b/, offset: 2 },
     { pattern: /\bzurich\b|\bswitzerland\b/, offset: 2 },
+    { pattern: /\bturkey\b|\bistanbul\b|\bankara\b/, offset: 3 },
   ]
 
   for (const mapping of regexMapping) {