Thread Starter
muerta
(@muerta)
solved the “end date” by modifing
<?php if( !eo_reoccurs() ){ ?>
<!-- Single event -->
<li><strong><?php _e('Start', 'eventorganiser') ;?>:</strong> <?php eo_the_start($date_format); ?> Uhr</li>
<li><strong><?php _e('Ende', 'eventorganiser') ;?>:</strong> <?php eo_the_end($date_format); ?> Uhr</li>
<?php
} ?>
date issue is still open, don’t know if this is intended or not.
Personally, I would prefer a 12 H “normal” clock, though I can understand the simpler (for coding) use of a 24 H (Military) clock.
Since I use Unix / Linux and servers, the 24 Hr clock is fine for me, but WHAT musician or event planner EVER uses the 24 H clock?!?!
When viewing the Calendar, the end user (visitor) sees the 24 H format and this is simply unacceptable from any standpoint.
Could there be a simple way (as with the date format) to change back and forth between the 12 H and 24 H clock system? Please?
Thread Starter
muerta
(@muerta)
hm, everyone who isn’t living in native english speaking countries or one of the old colonys?
eo uses the wordpress time settings, so check it there, excluding you got hit by the bug i have.
Time format handling on EO is not great, I’m a aware of it and plan to do something about it . (Pull requests welcome 🙂 ).
But please note that refers to just the ‘default’ behaviour. Pretty much everything is customisable.
@muerta – in your case you are right to edit the templates (So long as you copy them into your theme!).
As for widgets & shortcodes (including the calendar and event list shortcodes) you can specify the date/time formats as part of the attributes. Similarly widgets will have options.
With the above ticket the aim is to go through and ‘correct’ the plug-in to use the time format set in your options as the default time format (unless specified otherwise by editing templates, or via widget options / shortcode attributes).
The admin calendar can be switched between 12 & 24 hour via the screen options.
Hi @ashokankid, not every language (for example French) uses ‘AM’ and ‘PM’, but instead uses a 24 hour clock. So I guess a French Musician might :). But as above, you can edit the time format via specifying it as an attribute (see documentation linked to above).
As an aside, if anyone is able and willing to contribute code, then making pull requests is a great way of doing that, and will make improvements of EO much quicker 🙂
Stephen, you are a Prince~!
Hmmm, perhaps I’ll have to hip our local New York musicians to the benefits of a 24 H clock, eh? 😉
Of course, then there are the fans, site end users and visitors, which may be a bit harder sell!
It is a little strange that on the Admin Calendar the time can be changed to 12 H or 24 H but the Site Calendar is only 24 H?!?!
I guess that this is what you mean by eventually defaulting to the current WP install defaults for time? That would be GREAT!
Wish that I could assist with your plug-in a little more, but my code experience and capability is minimal.
Know that your work here is MUCH appreciated and your plug-in (even “as-is”) makes life SO much easier for us.
We WILL be donating and probably using your plug-in for other projects now that we have discovered you. Thanks again!
AK
Hi @ashokankid,
This was updated in 2.1 – by default the plug-in will interpret from your site’s ‘time format’ option whether to use 12 or 24 hour time. All options can be over-ridden as before.
You can also input time in 12 hour time format, if your site’s time format is in 12 hour format.
Thread Starter
muerta
(@muerta)
works like a charm now, thanks stephen 🙂