serlo / athene2

Moved to https://github.com/serlo/serlo.org monorepo
https://github.com/serlo/serlo.org/tree/master/packages/public/server
Apache License 2.0
19 stars 18 forks source link

Review timezone settings #902

Closed inyono closed 5 years ago

inyono commented 5 years ago

When starting a discussion, it always shows the time as "2 hours ago". Probably, we aren't using the timezone correctly (note that we are UTC +2).

inyono commented 5 years ago

@Knorrke: "Seems like we save times as UTC but interpret them as UTC + 2". Things to look at: timeAgo view helper and datetime fields in forms.

Knorrke commented 5 years ago

actually, duplicate of #457^^

inyono commented 5 years ago

“3 years ago” wtf

Knorrke commented 5 years ago

No no that must be a wrong timestamp :sweat_smile: