Web-stories-wp: Dashboard: Created/last modified relative strings are sometimes broken

Created on 19 Aug 2020  路  7Comments  路  Source: google/web-stories-wp

Bug Description

The first story was modified a few minutes ago.

Expected Behaviour

It should print the correct relative time.

Steps to Reproduce

The screenshot is from staging (I'm in UTC+2).

Screenshots

image

Additional Context

  • Plugin Version:
  • Operating System:
  • Browser:

_Do not alter or remove anything below. The following sections will be managed by moderators only._

Acceptance Criteria

Implementation Brief

Dashboard Dates P1 WP & Infra Bug

All 7 comments

Can confirm.

Looks like #4082 fixes this. Can you try that branch?

Looks like #4082 fixes this. Can you try that branch?

I've created a new story on that branch, still looks broken.

image

Weird. It's working fine for me on that branch. Just created some new stories:

Screenshot 2020-08-19 at 15 56 04

What's your timezone setting in WP?

UTC+2, you can also check on QA env (UTC+0)

image

Hmm it seems to work when I set a specific timezone, e.g. Zurich, but not a when I specify a specific a UTC offset, etc. UTC+2

I can see clearly now the ~rain~ bug is gone!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

o-fernandez picture o-fernandez  路  4Comments

LuckynaSan picture LuckynaSan  路  3Comments

o-fernandez picture o-fernandez  路  3Comments

wassgha picture wassgha  路  3Comments

o-fernandez picture o-fernandez  路  3Comments