 |
|
 |
|
- Readme First! - Read and follow the rules, otherwise your posts will be closed |
|
|
|
|
|
There are currently, 160 guest(s) and 0 member(s) that are online.
You are Anonymous user. You can register for free by clicking here |
|
|
|
|
|
Event Calendar 2.12 Fix For AM/PM Calculation |
|
Raven writes "For those of you who use Event Calendar 2.12 (and possibly prior versions), Any time the hours before 10:00 AM are printed/displayed, they are missing the AM notation. Well, here is the fix!
Locate the getTime() function in functions.php. Then find this code:
if ($time_Array[0] $hour = substr($time_Array[0],1,1); } else {
and modify it to read
if ($time_Array[0] $hour = substr($time_Array[0],1,1); $ampm = "AM"; } else {"
|
|
Posted on Wednesday, October 01 @ 16:04:40 CEST by [RETIRED]chatserv |
|
|
|
|
| |
|
Average Score: 5 Votes: 1

|
|
|
|
|
|
| The comments are owned by the poster. We aren't responsible for their content. |
| | | | |
No Comments Allowed for Anonymous, please register | | | | |
Re: Event Calendar 2.12 Fix For AM/PM Calculation (Score: 1) by marcelolaia on Thursday, October 02 @ 06:38:25 CEST (User Info | Send a Message) http://www.posgraduando.org | Hi,
I am sorry, but I dont find this code in my modules/Calendar/functions.php
I Have the version 2.12
Thanks |
| | | | | |
|