Support

Home Forums Event Espresso Premium Show start time for when ticket sale starts

Show start time for when ticket sale starts

Posted: October 28, 2021 at 9:42 am

Viewing 4 reply threads


infrasolutions

October 28, 2021 at 9:42 am

By default, ticket sale in the future only shows the date. I’d like to add the start time as well.

I was successful in getting this to happen by changing the default date format setting for WP (Settings, General, Date Format) and added the time to the end of the custom format.

While this did what I wanted it to do, it also now caused the time to display twice in other areas like the table listing for event dates, and also in messages that include the datetimes.

Any suggestion on an alternate method to have the time show in addition to the date for when a ticket goes on sale?

Thanks, Frank


Tony

  • Support Staff

October 28, 2021 at 10:56 am

Hi Frank,

Can you add a screenshot of the section you are referring to, please?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


infrasolutions

October 28, 2021 at 11:04 am

Hi Tony, Here’s a link to the screenshot https://www.dropbox.com/s/ps3r57vwiwzrbe3/EE4Sceenshot.PNG?dl=0

After ‘Registration will open on’ you will see the date and time. Prior to the change to the default system time format, I would only get the date.

Thanks, Frank


infrasolutions

October 28, 2021 at 11:14 am

Here are the unintended issues

Screenshot of time duplicated in table:
https://www.dropbox.com/s/rl767bjbd0m3oqa/ee4ss2.PNG?dl=0

Thanks, Frank


Tony

  • Support Staff

October 28, 2021 at 11:25 am

Here’s a link to the screenshot https://www.dropbox.com/s/ps3r57vwiwzrbe3/EE4Sceenshot.PNG?dl=0

Ohh, I see, you need something like this:

https://gist.github.com/Pebblo/48a1b67360f86c2d29f143296614e3ac

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

After ‘Registration will open on’ you will see the date and time. Prior to the change to the default system time format, I would only get the date.

Yeah, its not expected for the date format to also include time so you’ll get all kinds of odd outputs using that method.

Viewing 4 reply threads

The support post ‘Show start time for when ticket sale starts’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso