HUE-8922 [frontend] Show dates and times in local format with timezone offset details

Review Request #14113 - Created July 23, 2019 and submitted

Johan Åhlén
hue
master
hue
jgauthier, ranade, romain, roohi, weixia, yingc
commit 71f10212a90d5cc9ceba401112403b93e02c9e02
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Tue Jul 23 11:09:33 2019 +0200

    HUE-8922 [frontend] Show dates and times in local format with timezone offset details

:100644 100644 2202923274 4e101ce135 M	desktop/core/src/desktop/templates/common_header_footer_components.mako

Manual on Chrome

Before: https://dl.dropbox.com/s/8w3w1591dbd9poh/Screenshot%202019-07-23%2011.12.36.png?dl=0
After: https://dl.dropbox.com/s/gevmdp2bmfr81wu/Screenshot%202019-07-23%2011.10.57.png?dl=0

Note that it assumes any timestamps given from the backend are in UTC

  1. Ship It!
  2. 
      
  1. Actually, do we need to display the +02:00? (better without especially if we now convert the time)

    1. I think we do. For certainty and also for cases when the time is communicated across different time zones.

    2. I pesonally would assume UTC unless stated otherwise.

  2. 
      
Review request changed

Status: Closed (submitted)

Loading...