-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time formatting fun #61
Comments
PLEASE give 'backwards' Americans a universal option to change the time format, like you do the date format on the settings page. Would be ever SO appreciated. I want to use this with a client's site, but that 'Add Event' page with 24-hour format input is keeping me from using it. .. Unless there's a way to change it that I haven't found. THanks. |
@bburtraw Currently the time option on the add event page is 24-hour only. I hope to update this soon so as to make an educated guess as to whether 12 or 24 hour time should be used. |
…as 12/24 hour time format. Ref #61.
… calendar is in 12/24 hour. Refs #61.
Allow 12 or 24 hour time format input: a1ff8de |
There isn't a standard of default time format in EO. While all date/time formatting on the front-end is changeable - there should perhaps be a 'unified' default value. For example
(See this thread).
For admin-side, determining whether 24 or 12 hour time should be used should be taken from the time setting option.
Possible problems:
Would require a function which takes a string (time format) and outputs whether its using 12 or 24 hour time.
An option could be added to the settings page to change this 'guess' manually - but do we really want another option...?
Pull requests, welcome!
Todo
eventorganiser_blog_is_24()
get_option('time_format')
eventorganiser_blog_is_24()
get_option('time_format')
eventorganiser_blog_is_24()
(and possibly removed)get_option('time_format')
The text was updated successfully, but these errors were encountered: