How do I change Post Time format?

Solved4.74K viewsGeneral
0

Hi.

How do I change Post Time format?

Currently my show Post Time: asked 02 1month, 2016

anspress.io site display the time: 4 hours ago

What does this difference is due?

Thank you.

0

Hour difference is shown if time is less then a week. After a week full date is shown.

Hi. Rahul.

Yes. I see.
So is it possible to display the date year / month / day?
ex) 2016.03.03

I thought it would be nice if the same changes anspress date is the date set for WordPress.

Thank you.

Yes that make sense. Will update our code to output same date format as set in WordPress.