Date Added column displays "{{ dateString() }} {{ timeString() }}" on Explore

Please fill out the following sections to the best of your ability, it will help us investigate bugs if we have this information at the outset. Screenshots are especially helpful, so please provide those if you can.

Platform (Android, iOS, Website): Website

Browser, if a website issue (Firefox, Chrome, etc) : Edge

URLs (aka web addresses) of any relevant observations or pages: -

Screenshots of what you are seeing (instructions for taking a screenshot on computers and mobile devices: https://www.take-a-screenshot.org/):

Description of problem (please provide a set of steps we can use to replicate the issue, and make as many as you need.):

Step 1: Open up “Your Observations” page and set the “List” view.

Step 2: “Added” column doesn’t display date added as it should, but instead - some code fragments.

1 Like

What’s your account’s locale?

If you mean Settings → Account → Language/Locale, then it’s “English”.

OK, thanks. Are you able to open up your browser’s console on that page and share a screenshot that shows any errors in the console?

It’s probably actually depends on the locale. I have only minor errors in EN(US) - Chrome:

Firefox:

But the same behavior (as shown by the topic starter) if locale RU - Chrome:

Firefox:

Console log (Chrome) EN(US) - https://drive.google.com/file/d/1q3kk37y1EqkSMM3tYH3VDU1Ct3Aio8tK/view?usp=drive_link, RU - https://drive.google.com/file/d/10EaigPE0Zrz07z8ReYY7Q4SCUwP4fLQL/view?usp=drive_link. About the same in FF.

Maybe it could help.

P.S. Just for fun, I tried some other locales. ES, PL - ok (as in EN). GR - the same as in RU. Perhaps only non-Latin script languages are affected.

2 Likes

Edge Console shows these (the number of messages corresponding to the number of observations selected):

Platform (Android, iOS, Website): Website

Browser, if a website issue (Firefox, Chrome, etc) : Chrome 109.0.5414.168

URLs (aka web addresses) of any relevant observations or pages: https://www.inaturalist.org/observations?place_id=any&user_id=natalya_vilyaeva&verifiable=any

Description of problem (please provide a set of steps we can use to replicate the issue, and make as many as you need.):

Step 1: Go to Observations page, List mode

Step 2: Last column “Added” consist of {{ dateString() }}
{{ timeString() }}, not of actual date and time

Step 3: This happens on my Observations page and on any other user’s Observations page.

We released a potential fix for the dates in the “added” column on Explore today. For anyone that was experiencing problems with that column in the last 2 weeks, if you could try again and report if you’re still having issues, that would be very helpful. Ideally the dates displayed in that column should match the “Submitted” dates on the observation details pages above the map.

If you are not seeing dates and instead see this text with brackets, it would be helpful to have a screenshot of any errors in the browser console. If the dates in the Explore list view still do not match what you see on the observation details pages, it would also be helpful to know what timezone you are view the website from, e.g. Asia/Barnaul, as the issue would be a date timezone conversion problem. Thanks for the feedback!

2 Likes

Thanks, I see the date and time now. It works on Observations and on Explore pages. Timezone GMT+03.00 Moscow

4 Likes