Uploaded image for project: 'WebTop'
  1. WebTop
  2. WT-508

All-day events are displayed incorrectly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Done
    • Calendar
    • 5.7.1
    • release
    • 5.7.2
    • wt-5.7.2
    • 0260

    Description

      Creating an all-day event lasting several days is displayed on the grid with a duration of less than 1 day.

      The database is written correctly and on the synchronized devices it is displayed correctly.

      Steps to reproduce:

      • create an all-day event starting June 25th and ending June 28th

      Expected behaviour:

      • an employment bar is shown on the grid which includes June 25th, 26th, 27th and 28th

      Actual behaviour:

      • on the grid is shown an occupancy bar that includes only 25, 26 and 27 June

       

      NOTE:

      The problem is present only from version 5.7.1

      Ver 5.7.1: in the database the event is written in this way

         title   |       start_date       |        end_date
      -----------+------------------------+------------------------
       Test 1234 | 2019-06-25 00:00:00+02 | 2019-06-28 00:00:00+02
      
      

      Ver 5.6.2: in the database the same event was written like this:

         title   |       start_date       |        end_date
      -----------+------------------------+------------------------
       Test 1234 | 2019-06-25 00:00:00+02 | 2019-06-28 23:59:59+02
      
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            luca.gasparini Luca Gasparini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package