0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-30 22:34:01 -05:00

🐛 Fixed Istanbul timezone (#21686)

ref https://linear.app/ghost/issue/ENG-1781/
- updated Istanbul TZ to +03

Thanks to @muratcorlu for the PR to TryGhost/SDK.
This commit is contained in:
Steve Larson 2024-11-21 11:23:21 -06:00 committed by GitHub
parent b098fb69be
commit c046bbda91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 6 deletions

View file

@ -39,7 +39,7 @@
"@tryghost/kg-unsplash-selector": "0.2.6",
"@tryghost/limit-service": "1.2.14",
"@tryghost/nql": "0.12.7",
"@tryghost/timezone-data": "0.4.3",
"@tryghost/timezone-data": "0.4.4",
"react": "18.3.1",
"react-dom": "18.3.1",
"validator": "7.2.0"

View file

@ -120,8 +120,8 @@ export default [
label: '(GMT +1:00) West Central Africa'
},
{
name: 'Europe/Istanbul',
label: '(GMT +2:00) Athens, Beirut, Bucharest, Istanbul'
name: 'Europe/Athens',
label: '(GMT +2:00) Athens, Beirut, Bucharest'
},
{
name: 'Africa/Cairo',
@ -151,6 +151,10 @@ export default [
name: 'Asia/Riyadh',
label: '(GMT +3:00) Kuwait, Nairobi, Riyadh'
},
{
name: 'Europe/Istanbul',
label: '(GMT +3:00) Istanbul, Ankara'
},
{
name: 'Europe/Moscow',
label: '(GMT +3:00) Moscow, St. Petersburg, Volgograd'
@ -263,4 +267,4 @@ export default [
name: 'Pacific/Kwajalein',
label: '(GMT +12:00) International Date Line West'
}
];
];

View file

@ -56,7 +56,7 @@
"@tryghost/nql": "0.12.7",
"@tryghost/nql-lang": "0.6.3",
"@tryghost/string": "0.2.12",
"@tryghost/timezone-data": "0.4.3",
"@tryghost/timezone-data": "0.4.4",
"animejs": "3.2.2",
"autoprefixer": "9.8.6",
"babel-eslint": "10.1.0",

View file

@ -22,7 +22,7 @@ describe('Integration: Service: config-manager', function () {
const injection = this.owner.lookup('config:main');
const timezones = injection.availableTimezones;
expect(timezones.length).to.equal(66);
expect(timezones.length).to.equal(67);
expect(timezones[0].name).to.equal('Pacific/Pago_Pago');
expect(timezones[0].label).to.equal('(GMT -11:00) Midway Island, Samoa');
expect(timezones[1].name).to.equal('Pacific/Honolulu');