Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-7091

Times Inserted Incorrectly Around Daylight Savings Time Change in Spring



    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • Services, SQL
    • None
    • Java 14.0.1
    • Seen in production


      When inserting date/times into the timestamp field around the daylight savings time change in the Spring, the times are inconsistent.  I am in/use the New York EST/EDT timezone, but the data I am inserting is Standard time and not Daylight Savings Time

      All the times are correct up to 1:48AM, then when it inserts 2:00 AM the data in the database is 3:00AM.  That could be alright if it kept switching the time to Daylight Savings Time, however going from inserting 2:48AM and getting 3:48AM in the database, when it inserts 3:00AM it shows 3:00AM in the database, not the expected 4:00AM.  Then in the fall whatever is inserted in the database is what shows in the database around the daylight savings time switch to standard time.  See the attached Open Document Text file for examples of what is actually inserted and what is showing in the database.


        1. Timezone_Data_Inconsistencies.odt
          21 kB
          Larry Melvin Lemons
        2. Test.java
          10 kB
          Larry Melvin Lemons



            Unassigned Unassigned
            llemons Larry Melvin Lemons
            0 Vote for this issue
            3 Start watching this issue