Laraveldeep's avatar

Something Off with The Time

Hi,

I have noted that the time displayed for posts seems incorrect. I have started a thread only few hours ago but it is showing that its started 15 hours before. Same for the notification too.

Thanks!

0 likes
5 replies
ahmeddabak's avatar

Yes, there is a problem with the timezone, since the new design the timezone is not calculated as it should, i am sure that Jeffrey is working on it.

1 like
londoh's avatar

It looks like its still off, seems to be +5 hours here in the UK

_adrian's avatar

Thanks for spotting this guys! I let Jeffrey know of it and it will probably be fixed whenever he finds some time :)

rodrigo.pedra's avatar

Hey @tuds what I generally do is bring the timestamp as UTC with a timezone info ($instance->created_at->format('c')) from the server and use moment.js to format it in the frontend.

It will adjust the timezone to the browser's timezone.

1 like
Cronix's avatar

The problem is more than just the timezone. As of now, the most recent post above mine (in this thread) show as 1h ago, but the earlier ones show 50m, 8m ago, etc.

Please or to participate in this conversation.