Closed (fixed)
Project:
Smart Date
Version:
8.x-2.8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2020 at 00:34 UTC
Updated:
16 Nov 2020 at 09:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mandclu commentedI can't reproduce what you're getting. I used the same data as you, and here's what I got.

It looks like time is off by 5 hours. Have you done anything with timezones?
Comment #3
thronedigital commentedI did change my timezone from the install UTC to Chicago in hopes of fixing the time off by 5 hours, to no avail.
I'm not sure what is going on here or where to go from here.
Comment #4
mandclu commentedIf you edit the node, does it still show as all day?
If you create a new node does it have the same problem?
Comment #5
thronedigital commentedWhen i edit a node I have the all day checkbox checked
When a create a new node with the same setup - same issue.
Comment #6
thronedigital commentedOk I rebuilt the site with the exact config
It works now.
Maybe i'm starting to understand. I'm thinking if the Drupal regional timezone gets changed it causes this issue to happen, I need to do more testing.
Comment #7
trishcoddington commentedWe are experiencing the same issue. When the Node is viewed by an anonymous user or, by a user whose Time Zone is the same as the site, an "All day" date is displayed like this:
Date: Mar 6, 2021 | All day (All day)
However, if the logged-in user is set with a Time Zone that is different from that of the site, the "All day" date is displayed like this:
Date: Mar 6, 2021 | All day (Mar 5, 2021 | 10:00pm - Mar 6, 2021 | 9:59pm PST)
We'd like it to display as shown in the first example, regardless of the user's time zone setting.
Comment #8
mandclu commentedFair, there's really no point in showing a local time display for an event that's meant to be all day. The attached patch should cause the local display to not be shown for all day events
Comment #9
mandclu commentedI'm not 100% sure the solution implemented in the patch aligns with what you wanted, but merging this in for now. Please feel free to open a child issue if you need some additional refinement.