PEAK XOOPS - Borderline to separate days in englishin japanese

Borderline to separate days

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2004/9/24 20:28
Salsero  Private   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
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2004/10/23 1:22
Salsero  Private   Posts: 9
Any suggestions to the above?
Votes:0 Average:0.00
depth:
2
Previous post - Next post | Parent - No child | Posted on 2004/10/25 10:22
GIJOE  Gunnery Sergeant   Posts: 4110
If I implemented the feature of borderline like you want, site visitors can't distinguish the event's date.

10/25 AM1:00

Is this 10/25's event ?
Or, is this 10/26's event ?

In Japan, the notation of 25:00 or 26:00 is often used in TV.

10/25 25:00

clearly means 10/26 01:00.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!