Posted: August 15, 2015 at 10:22 am
|
hello, can someone tell me why i have so many different time formats on my site? both, the date and time format are different. i’ve set up the european format in WP: “D. d.m.Y” and “G:i” and my site language is german. sometimes on the site the format is correct and sometimes it shows the english translation or an different order for day month and year. and here comes some examples from the site: these are ok: https://www.dropbox.com/s/yayenvfj5kl6tid/Bildschirmfoto%202015-08-15%20um%2018.10.52.png?dl=0 these not: https://www.dropbox.com/s/qbqax0dhzgfbqcl/Bildschirmfoto%202015-08-15%20um%2018.11.02.png?dl=0 https://www.dropbox.com/s/mpfpxud9mn6i8s7/Bildschirmfoto%202015-08-15%20um%2018.11.28.png?dl=0 https://www.dropbox.com/s/zqflyvpjtu7jn3p/Bildschirmfoto%202015-08-15%20um%2018.13.16.png?dl=0 you can checkout my site: http://www.sportsbookings.de thanks in advance |
Hi Merlin, I reported these issues with the ticket selector details section so we can get them fixed in a maintenance release. We’ll update this support post once that fix is available. — |
|
|
okay thank you very much. |
Hi Merlin, A fix is now available in the current version of Event Espresso 4. You can see the changelog here: https://eventespresso.com/wiki/ee4-changelog/#4.8.8 — |
|
|
Hi Lorenzo, great to hear. In the ticket selector everything is fine now but one problem: everywhere on the page the Days (Monday,Friday…) are displayed in german but just one date, the date in the events header, is displayed in english. u know why this is so? i’ve checked the translation and there is everything fine. https://www.dropbox.com/s/rha82a01t3d3cun/Bildschirmfoto%202015-09-10%20um%2014.58.32.png?dl=0 And one question. in german we say “8.00 Uhr” or “21.34 Uhr”. is there a way to put “Uhr” behind every time phrase? i’ve tried it in the wordpress settings like this H:i \U\h\r or with a regular / but wordpress always says “The following date time “Thursday, 10.09.2015 13:06 Uhr” ( l, d.m.Y H:i \U\h\r ) is difficult to be properly parsed by PHP for the following reasons: thanks. merlin |
Hi Merlin, you’ll need to use one of the support date formats: https://eventespresso.com/wiki/supported-date-formats/ — |
|
|
Yes i know. i’m using “l, d.m.Y” now and it works but only in the events header on my site is the english phrase instead of the german. And the question was, how to put “Uhr” behind every time phrase. Is there a global time template or something like this? thank for your efforts merlin |
Can you link us to the page please? It could be added by your sites theme.
Event Espresso will use the global Date and Time settings you have set within Dashboard -> Settings (there are some exceptions to this) but if WordPress itself will not allow you to input a format there, then Event Espresso can not use it either. So if you can not enter Uhr within the time format I think each template will need to be modified to include it. |
|
|
hi tony, of cause… http://sportsbookings.de/veranstaltung/emb-cup-hennigsdorfer-herbstcross-2015/ here you can see the time in the events header and the time formats in the widgets and the tickets/dates. i’ve tried to put “Uhr” and “/U/h/r” or “\U\h\r” in the wordpress settings but nothing worked. i think it’s impossible. for some templates i’ve already add it to. can you tell me where i can find the template for the overview of the date times in the event? in my theme template there is this <?php espresso_list_of_event_dates( $post->ID );?> thanks a lot… merlin |
The date and venue information in this section is not added by Event Espresso – http://take.ms/qhXNy By default that output is the_excerpt(), so either that text has been manually entered into the excerpt, a custom content-espresso_events.php template files is being used to output that section or the theme is adding the date to the_title()
That is a helper function to output the dates, there is no template file. If you take a look within \event-espresso-core-reg\public\template_tags.php You’ll find that function. As that function is pluggable you can override that function within your themes functions.php and add in any additional output you need. |
|
|
Thanks Tony, i’ve managed it with problem solved! |
The support post ‘Many different time formats’ 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.