Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start date and end date are displayed incorrectly due to system time zone #416

Open
securitytime opened this issue Oct 15, 2020 · 0 comments

Comments

@securitytime
Copy link

Issue Type

Bug Report

Faraday version

Faraday v3.12 (deb)

Component Name

WebGui

Steps to reproduce

To reproduce this issue, I installed Faraday on a Ubuntu Desktop 20.04.1. My time zone is set to Europe/Berlin:

tux@ubuntu:~$ timedatectl 
               Local time: Thu 2020-10-15 15:40:14 CEST
           Universal time: Thu 2020-10-15 13:40:14 UTC 
                 RTC time: Thu 2020-10-15 13:40:14     
                Time zone: Europe/Berlin (CEST, +0200) 
System clock synchronized: no                          
              NTP service: inactive                    
          RTC in local TZ: no

I use Firefox on this Ubuntu system to access Faraday via http://127.0.0.1:5985.

Now in Faraday I created a new workspace with a start date of 10/01/2020 and an end date of 10/31/2020:

screenshot01

Now when I select this workspace then the start date is displayed as 09/30/2020 and the end date as 10/30/2020:

screenshot02

I believe this has something to do with the time zone. When I set the system time zone to UTC then the dates are displayed correctly.

Expected results

The dashboard should show the correct dates when using a time zone other than UTC.

OS

Provide information on your operating system. Example:

tux@ubuntu:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant