Skip to content

New Items (eg boards) are flagged "2 hours ago" #3274

Closed

Description

@heitmanr

All activities shown with wrong time/delta-time.

Expected Behavior

i add something and the correct time is shown for this activity.

Current Behavior

i add something and the delta-time is shown from my timezone to UTC.

Screenshots (if appropriate):

these activities have been completed a second ago, not 2 hours:
restya-2-hours-ago

Steps to Reproduce (for bugs)

  • set timezone to GMT+2
    Linux: sudo timedatectl set-timezone Europe/Copenhagen
  • set user-timezone to GMT+2 in the Restyaboard-GUI
    the common shown "site-timezone"-setting has gone in the current release
    there is a "timezone"-setting in the user-settings - set to GMT+2, too

Your Environment

Linux Server 18.04

Activity

  1. sridhar391 commented on Oct 16, 2019

    @sridhar391
    Contributor

    @ron4all Can you please tell us if the user has set the timezone to GMT+2 Europe/Copenhagen in his profile settings page like the attached below image.

    user_timezone

  2. heitmanr commented on Oct 16, 2019

    @heitmanr
    Author

    @sridhar391 yes - the system.settings.timezone has been set to GMT+2 and the user.settings.timezone of all users have been already set to GMT+2, too.

  3. sridhar391 commented on Oct 16, 2019

    @sridhar391
    Contributor

    @ron4all Related #3046 and the fix will be available in the upcoming release v0.6.8 (Roxette)

  4. heitmanr commented on Oct 20, 2019

    @heitmanr
    Author

    @sridhar391 (just as a note:) I've been deleting the whole VM, setting it up completely new and the timestamps are working fine.

    • what's the difference between both installations
      => at the new setup i did "sudo timedatectl set-timezone Europe/Berlin" before installing restya using the install-shell-script

    at the first setup, i've been
    a) setting up restya first
    b) changing restya-timezone to GMT+2/Berlin
    c) adding users with timezone GMT+2/Berlin
    d) noticed the +2 time-difference displayed for all activities
    e) configured "sudo timedatectl..."
    f) it was too late ,-) +2h time-difference still in place for all activities

  5. sridhar391 commented on Oct 21, 2019

    @sridhar391
    Contributor

    @ron4all In the database, we store the activity with server timezone dates and when you change the server timezone, the activities will be shown with different time variation and in this version, we have handled the activity with the Restyaboard user timezone and the Restyaboard timezone

  6. added this to the v0.6.8 (Roxette) milestone on Apr 8, 2021
  7. self-assigned this
    on Apr 8, 2021
  8. sridhar391 commented on Apr 8, 2021

    @sridhar391
    Contributor

    @heitmanr Due to inactivity, we are closing this issue, if the issue occurred again, please feel free to reopen the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions