Support

Home Forums Event Espresso Premium Bugs : Ticket selection front end doesn't respect localisation

Bugs : Ticket selection front end doesn't respect localisation

Posted: August 13, 2014 at 10:43 pm


Stephen Rothery

August 13, 2014 at 10:43 pm

Hi

I recently noticed a bug that I had not noticed before, it may have appeared with the recent update to EE 4.3.

Bug #1

Firstly, it would appear that while dates are behaving correctly in terms of behavior of event open/close times, they are not being displayed correctly. What is happening appears to be fairly obvious and quite consistent, specifically that regardless of the locale settings, the ticket page is displaying the date in Y,M,D order, however it isn’t actually converting it to do so. (You can see that all the ticket open,close, event time, etc, are all listing the 14th as the day, rather than the year)

See screenshots for example.
https://docs.google.com/uc?id=0B0cqBTxKJDLgU1ZWOFEwc3dtYkU&export=download

https://docs.google.com/uc?id=0B0cqBTxKJDLgSDJrNG5JQlA5Vjg&export=download

The same behavior is present in all my events…


Dean

August 14, 2014 at 3:48 am

Hi Stephen,

The dates in the admin area will always be in Y-m-d.

Right now the dates on the front end are hard coded to be a certain format, but we have added a developer ticket to look into allowing those dates to be set by the WordPress settings. We are hoping that will be available in 4.4 but of course that is subject to change.


Stephen Rothery

August 14, 2014 at 4:01 am

It isn’t really an issue that it is hardcoded to be in a certain format, the problem is that it isn’t displaying it correctly in the given format.

Basically the localisation settings allow the setting of open/close dates, etc, using d-m-y and works correctly, but when displayed on the front end it isn’t translating this back to y-m-d, but rather just evaluating it and making d=y, and y=d. (as per the screenshots)


Dean

August 14, 2014 at 5:37 am

I see, thanks for the clarification.

Is it possible to get your login details in order to look into this?

If so, please send them via https://eventespresso.com/send-login-details/

NOTE: login details need to be Admin level and FTP details are appreciated.


Stephen Rothery

August 14, 2014 at 5:49 am

Done


Dean

August 14, 2014 at 8:45 am

Hi,

Thanks for the login details. OK, so it’s definitely the date format of d-m-y which is odd as it’s not on our unsupported list. I’ll raise a development ticket to look into it, but as that may not be straight away the only resolution would be to change the date format to something else.


Stephen Rothery

August 14, 2014 at 5:56 pm

j.F.Y seems to have resolved this, all dates are now displayed correctly.


Dean

August 15, 2014 at 5:48 am

Thanks for letting us know!

The support post ‘Bugs : Ticket selection front end doesn't respect localisation’ 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