daviddarnes / alembic

⚗️ A Jekyll boilerplate theme designed to be a starting point for any Jekyll website
https://alembic.darn.es
MIT License
765 stars 901 forks source link

[Question]: Change timezone #185

Closed manhcntt21 closed 1 year ago

manhcntt21 commented 2 years ago

Hi, I want to change timezone, I found it in __config.yml. I changed Europe/London to Asia/Bangbok, but nothing change, time still Europe/Londo

image

How can i change the timezone? Thank you in advance!

daviddarnes commented 2 years ago

You might need to rebuild @manhcntt21, did you make sure to stop localhost and restart it again?

manhcntt21 commented 2 years ago

yes, I stopped localhost and restarted it.

daviddarnes commented 2 years ago

How are you checking for the timezone?

manhcntt21 commented 2 years ago

I change the time-zone, then I run it again, I edit the file and see it's still London time (on terminal), not Bangkok

daviddarnes commented 2 years ago

I don't think the timezone setting is the issue. Looks like you're setting a post for a whole day beforehand which means Jekyll will think it's in draft and won't build it. You should change the file to be todays date or a date in the past.

daviddarnes commented 1 year ago

Going to close this from lack of response

manhcntt21 commented 1 year ago

Thank you, I'm sorry for the late reply!