Time "-" showing on Mac but not on a PC

Hello.
We’ve noticed that when on a Mac, the time displaying after an event has a “-” at the end of the time, but it’s not displaying that way on a PC.

We understand that Mac vs PC has different timezone settings, but should the “-” show if no timezone is behind it?

PC example
image

Thank you

FWIW, I don’t think this is a Mac/PC issue. I looked at your events page in multiple browsers on both platforms, and the “-” is always there. That being said, I don’t know what is causing it.

Hm, it looks like the theme is hard-coded to show {time} - {timezone} which does appear to be working in my Mac tests as well:

March 6 events
image

Makes it seem like maybe there’s a case where the timezone isn’t showing up for some folks? With a bit more info or steps to reproduce we could help debug, otherwise another option might be to remove the dash from your _i/themes/global/components/calendar/lw_cal_event.html event list component so if there’s no timezone appearing, it doesn’t look as strange?

1 Like

According to Formatting Date and Time - LiveWhale Support, “LiveWhale shows you a timezone abbreviation when an event’s time differs from your local timezone.”

That would explain why some people see a timezone and some don’t. I’m in the same timezone as Chicago, but @karl is not.

Correct, the “-CST” or “-CDT” shows when in a different timezone. We’re just wondering why the “-” shows at the end of the time (when in the same timezone of the event.) For example, if the event is at 10:30am, shouldn’t it just show “10:30am” and not "10:30am - " ?

Hope that makes sense. It’s a minor UI, we’re just curious if we can fix it directly or if it’s a LW default.

To explain further, if an event is in the same timezone, therefore not showing a CDT, CST, etc but the event displays "10:30am - " it makes it appear to the user that perhaps something may be missing. A “-” typically indicate for example, “10:30am - 11:30am.” If the time zone isn’t being displayed, then the “-” shouldn’t show after the time, it is misleading as if data is not showing.

I would remove the dash entirely, so it would just look like…
7:00am - 5:00pm CST
or
7:00am - 5:00pm

1 Like

Hi Lanny,

Sure, I see what you’re saying – it’s not a LW default, it looks like a bit of theming code in your /_ingredients/themes/global/components/calendar/lw_cal_event.html file didn’t consider the case where obj.timezone might be empty. A little logical IF/THEN update to that theme component could only show the dash when there’s a timezone after it. If you have in-house developers who have SFTP access and theming knowledge they could probably tackle it, or it’s something our team could assist with via the Request Help Form or personalized email support. Thanks!

1 Like

(Or as Jon mentioned, just removing the dash might be an easy quick-fix.)

Thanks Karl, I’ll check with leadership on if they want to remove the timezone, and if so we’ll make adjustments per your instruction. I appreciate it

Thanks, Jon, for your insight and suggestions, much appreciated!