My Subscriptions

No active or expired subscriptions. View Available Subscriptions

Advanced Search

Home arrow Forum arrow JCal Pro 1.5.xarrow 1.5.x General Discussionarrow SOLVED: AM / PM missing from pop-up window and event detail view
Pages: [1]
Print
Author Topic: SOLVED: AM / PM missing from pop-up window and event detail view  (Read 910 times)
malibu
Newbie
*

Karma: +0/-0
Posts: 15



View Profile WWW
« on: March 05, 2007, 04:14:20 PM »

When I click on an event, the time does not display the AM or PM designation in the popup window.
« Last Edit: March 07, 2007, 01:03:39 PM by V-man » Logged
van
Sr. Member
****

Karma: +0/-0
Posts: 442


View Profile
« Reply #1 on: March 05, 2007, 04:19:21 PM »

In the JCalPro settings, do you have it set for 24 or 12-hour time display? (On the "Environment" tab).
Logged
malibu
Newbie
*

Karma: +0/-0
Posts: 15



View Profile WWW
« Reply #2 on: March 05, 2007, 04:22:11 PM »

That screen shot is taken off your server. I haven't uploaded a newer build since the 1.5 beta testing--was just getting ready to download and install and decided to look at the demo install to see if this bug was fixed.

It displays correctly in Daily, Weekly, Latest Events, etc... everywhere it seems except for in the popup.
Logged
V-man
Administrator
Hero Member
*****

Karma: +4/-0
Posts: 1741


Ignorance is curable, stupid is forever.


View Profile
« Reply #3 on: March 07, 2007, 01:03:06 PM »

If you change the pop-up to "No", you'll find the event details view is also missing the AM/PM. Here is the fix:

In <joomla_root>/components/com_jcalpro/themes/theme_name/theme.php, replace this:
Code:
'{EVENT_START_DATE}' => ucwords(strftime($date_mask, $event->startDate)),

with the following:
Code:
'{EVENT_START_DATE}' => ucwords(strftime($date_mask, $event->startDate). ' ' . $ampm ),

This mistake was introduced in v1.5.0.3, and the fix above will in included in the forthcoming release candidate com_jcalpro v1.5.2.
Logged

*** Please read this post before posting in the forum. ***

Support questions via PM will be ignored. Please use the forum for all support-related enquiries.
Pages: [1]
Print
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com

Original Joomla Template design by RocketTheme ( Conversion by Bloc)