[geeklog-cvs] geeklog-1.3/public_html calendar.php,1.44,1.45
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Sat Aug 7 11:32:15 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv32272
Modified Files:
calendar.php
Log Message:
Replaced date('g:ia') with strftime($_CONF['timeonly']) to avoid hard-coding am/pm times
Index: calendar.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/calendar.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** calendar.php 7 Aug 2004 10:20:01 -0000 1.44
--- calendar.php 7 Aug 2004 15:32:12 -0000 1.45
***************
*** 469,476 ****
$A = current ($thedata);
$cal_templates->set_var ('event_time',
! date ('g:ia', strtotime ($A['datestart'] . ' '
! . $A['timestart'])) . '-'
! . date ('g:ia', strtotime ($A['dateend'] . ' '
! . $A['timeend'])));
if (SEC_hasAccess ($A['owner_id'], $A['group_id'],
$A['perm_owner'], $A['perm_group'], $A['perm_members'],
--- 469,476 ----
$A = current ($thedata);
$cal_templates->set_var ('event_time',
! strftime ($_CONF['timeonly'], strtotime ($A['datestart']
! . ' ' . $A['timestart'])) . '-'
! . strftime ($_CONF['timeonly'], strtotime ($A['dateend']
! . ' ' . $A['timeend'])));
if (SEC_hasAccess ($A['owner_id'], $A['group_id'],
$A['perm_owner'], $A['perm_group'], $A['perm_members'],
More information about the geeklog-cvs
mailing list