PEAK XOOPS - Borderline to separate days in englishin japanese

Borderline to separate days

List posts in the topic

question Borderline to separate days

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2004/9/24 20:28
Salsero  二等兵   Posts: 9
I have an event from 9 PM till 2 AM the next day.

In the Weekly View, it show the start on one day and the finish on the other.

In order to avoid it, I set the Borderline to separate days at 3:00 hours.

That puts the event only on one day, but it adds 24 h to the 2:AM, i.e. the event show now: 21:00 - 26:00.

In order to avoid it, went to function:

get_time_desc_for_a_day

and remove the "+ 24" from the line

Quote:
$end_desc = ( date( 'H' , $end ) + 24) . ':' . date( 'i' , $end ) ;

This takes care of the Weekly view.

But I don't know how to take care of the "Today's Events" or the "Upcoming Events" blocks. Over there it still shows "26:00"

How to force it to show 2:00 as well?
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!