Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-48144

date - Wrong time convert between timezones

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • rhel-9.4
    • time
    • None
    • Important
    • rhel-sst-pt-python-ruby-nodejs
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • None

      What were you trying to do that didn't work?

      I am using CLI utility `date` to convert time between timezones. And I noticed, that the time conversion from "EST" timezone to CEST is wrong by 1 hour.

      Result can be verified for example in Supportshell.

      Please provide the package NVR for which bug is seen:

      • coreutils-common-8.32-35.el9.x86_64
      • tzdata-2024a-1.el9.noarch

      How reproducible:

      Always

      Steps to reproduce

      1.  execute 
        $ export TZ=CEST
        $ date -d '8:15 EST'
        Mon Jul 15 01:15:00 PM CEST 2024 
      1.  Verify result... Correct time is:
        02:15:00 PM
      1. Be surprised.

      Expected results

      Correct time conversion

      Actual results

      Wrong time conversion

              opohorel@redhat.com Ondrej Pohorelsky
              rhn-support-mheppler Michal Heppler
              Ondrej Pohorelsky Ondrej Pohorelsky
              bot rhel-cs-apps-subsystem-qe bot rhel-cs-apps-subsystem-qe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: