Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3069

Add proper time zone support to the WebUI instead of GMT/PST kludge

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • v2.2.0
    • v2.3.0
    • Web
    • None
    • HDP 2.5.3, Kylin 2.2.0

    Description

      Time zone handling logic in the WebUI is a kludge, coded to parse only "GMT-N" time zone specifications and defaulting to PST, if parsing is not successful (kylin/webapp/app/js/filters/filter.js)

      Integrating moment and moment time zone (http://momentjs.com/timezone/docs/) into the product, would allow correct time zone handling.
      For the users who happen to reside in the geographical locations that do observe day light savings time, usage of GMT-N format is very inconvenient and info reported by the UI in various places is perplexing.
      Needless to say that the GMT moniker itself is long deprecated.

      Attachments

        1. 0001-KYLIN-3069-Add-proper-time-zone-support-to-the-WebUI.patch
          5 kB
          peng.jianhua
        2. kylin_pic2.png
          58 kB
          peng.jianhua
        3. kylin_pic3.png
          44 kB
          peng.jianhua
        4. kylin_pic1.png
          29 kB
          peng.jianhua
        5. Screen Shot 2017-12-05 at 10.01.39 PM.png
          113 kB
          Vsevolod Ostapenko

        Activity

          People

            peng.jianhua peng.jianhua
            seva_ostapenko Vsevolod Ostapenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified