• Hello,

    First off – I love this plugin – it’s been simple and flexible which is just what I needed. However, a year into using the plugin something seems to be happening regarding the new event dates I’ve just added into the website.

    For some reason the latest events (on that page I’ve links it will be the all of them apart from the top event in the list) The start and end date is showing a day before what I’ve set within the admin. For example, the second event within the list is set to start on the 28th March and end of the 5th March.

    Comparing the event which is showing right (the top one in the list which was an event added last year) to the events showing wrong there is nothing different within the admin apart from the start and end dates.

    What could this be?

    Many Thanks,

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi,

    Recently I’ve added time fields. This means events are now ordered by time as well. Timestamp in database now also includes time, but in older versions time was always midnight (00:00). Guess this has something to do with it.

    Is the timezone at page Settings > General correct?

    Guido

    Thread Starter jpixels

    (@jpixels)

    Hey Guido,

    Thanks for getting back so quickly!

    The update may have something to do with it – I haven’t amended the setting since I set it up originally.

    The Time Format is set to “g:i a”

    Looking at an individual event (second on the link) the start date is 2022-03-28 and the end date is 2022-04-05 and the start time is “00:00” and end is “00:00”. It’s identical the the ones appearing correct, but obviously the start and end dates have changed.

    Whats really odd is that when I set the start date to “23:00” the start date appears correct in the front end but any other time prior to 23:00 the date shows as the day before.

    Thanks again for your help,
    Josh

    Plugin Author Guido

    (@guido07111975)

    Hi Josh,

    Is your timzone at page Settings > General UTC+1 or set on a city in that timezone?

    FYI: if you don’t want to use the new time fields you can disable this via the VSEL settingspage. In that case times are saved as midnight (00:00). So the same as older evens.

    But date/time at frontend should be the same as the ones in admin, so that’s strange!

    Guido

    Thread Starter jpixels

    (@jpixels)

    Hey Guido,

    It was set the “London” but I’ve switched it to GMT and it’s now working.

    Very odd!

    Thank you for pointing this out though as it’s fixed now!

    Many thanks,

    Plugin Author Guido

    (@guido07111975)

    Hi,

    London = UTC(+0) I guess?

    “GMT” is not a value you can choose, you mean UTC?

    VSEL always stores date/time as UTC(+0) and outputs them depending on the timezone that is set at page Settings > General. So it uses the local time from that page.

    In some cases another plugin (or your theme) incorrectly hooks into the timezone settings from the WP install and that can cause a conflict with VSEL.

    Guido

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Start and End Date showing the day before in some cases’ is closed to new replies.