# Post doesn't show up according to theirs date

**URL:** <https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186>\
**Category:** Help\
**Created:** [November 19, 2017, 8:46am UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186 "2017-11-19T08:46:48Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![yashumittal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/yashumittal/32/1260_2.png) [@yashumittal](https://talk.jekyllrb.com/u/yashumittal)\
**Post date:** [November 19, 2017, 8:46am UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/1 "2017-11-19T08:46:48Z")

</div>

I don’t know, if all of you have noticed this problem.

But I have

I have tested this on different platforms like on Github, Netlify and on a server too.

If we use Github, then it shows all the blog post, even if we add the future date in the blog post.

If we use Netlify or any other service _(where \_site directory is used by servers)_ then if we publish a blog now and add the today’s date in the yaml data, then the blog shows up after two days.

_I hope, you have understood what I am trying to say_

---

<div class="post-metadata">

**Author:** ![mmistakes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mmistakes/32/2169_2.png) [@mmistakes](https://talk.jekyllrb.com/u/mmistakes)\
**Post date:** [November 19, 2017, 1:37pm UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/2 "2017-11-19T13:37:56Z")

</div>

Could be a difference in the timezone. Trying setting it in your \_config.yml

> **[Configuration](https://jekyllrb.com/docs/configuration/)**
>
> Jekyll gives you a lot of flexibility to customize how it builds your site. These options can either be specified in a \_config.yml or \_config.toml file placed in your site’s root directory, or can be specified as flags for the jekyll executable in...

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [November 19, 2017, 4:45pm UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/3 "2017-11-19T16:45:32Z")

</div>

> [@yashumittal](#):
>
> any other service (where \_site directory is used by servers) then if we publish a blog now and add the today’s date in the yaml data, then the blog shows up after two days.

That’s really strange actually, because when you upload contents of `_site` to the remote host (incl. GitHub Pages), the site is no longer within Jekyll’s scope… The site is now completely _ **static** _ by all standards.

---

<div class="post-metadata">

**Author:** ![yashumittal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/yashumittal/32/1260_2.png) [@yashumittal](https://talk.jekyllrb.com/u/yashumittal)\
**Post date:** [November 20, 2017, 3:11pm UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/4 "2017-11-20T15:11:22Z")

</div>

I know, that’s really strange.

But is happening.

---

<div class="post-metadata">

**Author:** ![yashumittal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/yashumittal/32/1260_2.png) [@yashumittal](https://talk.jekyllrb.com/u/yashumittal)\
**Post date:** [November 23, 2017, 6:28pm UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/5 "2017-11-23T18:28:12Z")

</div>

How to add timezone in the front matter

![image](https://canada1.discourse-cdn.com/flex030/uploads/jekyllrb/original/1X/8f783b64a2307a2e48c9b7fe76e2c01c7baccb96.png)

Like this? `+0530`.

If we have the time zone of UTC+05:30

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [November 24, 2017, 3:22am UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/6 "2017-11-24T03:22:01Z")

</div>

yep… `date: 2017-11-24 09:00:00 +0530`

---

<div class="post-metadata">

**Author:** ![yashumittal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/yashumittal/32/1260_2.png) [@yashumittal](https://talk.jekyllrb.com/u/yashumittal)\
**Post date:** [November 24, 2017, 8:49am UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/7 "2017-11-24T08:49:56Z")

</div>

@mmistakes, I think there should be an update in the documentation that if we do not have timezone Jekyll will take certain value by default, which may affect the way post appear on your website depending upon the time.

But I am not sure what is the default timezone that Jekyll uses if we don’t give a timezone value.

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [November 24, 2017, 2:32pm UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/8 "2017-11-24T14:32:35Z")

</div>

> [@yashumittal](#):
>
> what is the default timezone that Jekyll uses

The default timezone is your system’s timezone

---

<div class="post-metadata">

**Author:** ![yashumittal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/yashumittal/32/1260_2.png) [@yashumittal](https://talk.jekyllrb.com/u/yashumittal)\
**Post date:** [November 27, 2017, 5:53pm UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/9 "2017-11-27T17:53:37Z")

</div>

Nope. That is not possible because I can understand if I am working locally by running a local server.

But it should not affect the post if it hosted on the server (github) and if the posts are hosted on github then i think there is no relation between my local machine system timezone and the jekyll’s default timezone.

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [November 28, 2017, 5:28am UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/10 "2017-11-28T05:28:55Z")

</div>

🙂 When the site is built on GitHub Pages, the timezone defaults to the timezone configured in GitHub servers

---

<div class="post-metadata">

**Author:** ![yashumittal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/yashumittal/32/1260_2.png) [@yashumittal](https://talk.jekyllrb.com/u/yashumittal)\
**Post date:** [November 28, 2017, 1:39pm UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/11 "2017-11-28T13:39:58Z")

</div>

It means the timezone changes depending upon the server, where we host. Right?

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [November 28, 2017, 2:15pm UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/12 "2017-11-28T14:15:53Z")

</div>

> [@yashumittal](#):
>
> It means the timezone changes depending upon the server

In theory, yes. I’ve not tested it, though.  
To overcome this probable issue, Jekyll recommends setting the `timezone` in your config file:

```yaml
# _config.yml

timezone: Asia/Kolkata

```

---

<div class="post-metadata">

**Author:** ![yashumittal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/yashumittal/32/1260_2.png) [@yashumittal](https://talk.jekyllrb.com/u/yashumittal)\
**Post date:** [December 5, 2017, 2:36pm UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/13 "2017-12-05T14:36:58Z")

</div>

so @ashmaroli isn’t it is a good idea to mention this thing in the documentation also.

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [December 5, 2017, 5:30pm UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/14 "2017-12-05T17:30:40Z")

</div>

Feel free to submit a PR at GitHub if you feel the info provided in the [table](https://jekyllrb.com/docs/configuration/#configuration-settings) is inadequate

---

<div class="post-metadata">

**Author:** ![yashumittal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/yashumittal/32/1260_2.png) [@yashumittal](https://talk.jekyllrb.com/u/yashumittal)\
**Post date:** [December 9, 2017, 8:12am UTC](https://talk.jekyllrb.com/t/post-doesnt-show-up-according-to-theirs-date/1186/15 "2017-12-09T08:12:24Z")

</div>

I have created the pull request for the same.

[https://github.com/jekyll/jekyll/pull/6617](https://github.com/jekyll/jekyll/pull/6617)
