webcalendar

Check-in [ffb1667790]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Bug report/fix from Mark Blair, = versus ==, incorrectly labeling all-day events. Bug 2720. He also thought the ?: might be backwards, but it looks OK to me.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:ffb166779030bb6e827c69e53d352558fb909f514f14b959d42232e2b9b3b284
User & Date: ajv-899-334-8894@vsta.org 2017-05-30 04:44:30
Context
2017-05-30
19:45
Add a debug startup to "today" so I can play with its function in the CLI. Fix timezone treatment so daylight savings state for the start date of a repeat is calculated correctly. Streamline elems, use a CSS rule instead. check-in: 7470f6e3bf user: ajv-899-334-8894@vsta.org tags: master, trunk
04:44
Bug report/fix from Mark Blair, = versus ==, incorrectly labeling all-day events. Bug 2720. He also thought the ?: might be backwards, but it looks OK to me. check-in: ffb1667790 user: ajv-899-334-8894@vsta.org tags: master, trunk
04:39
Report from Alex G, bug 2722. Adding an event from a category view always treated the category as private. check-in: a5464ea318 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tools/send_reminders.php.

397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
    $body .= strtoupper ( $name ) . "\n\n" . translate ( 'Description' )
     . ":\n" . $padding . $description . "\n"
     . ( $is_task ? translate ( 'Start Date' ) : translate ( 'Date' ) )
     . ': ' . date_to_str ( ( $row[2] > 0? date ( 'Ymd', $event_date ) : gmdate ( 'Ymd', $event_date ) ) ) . "\n"
     . ( $row[2] > 0 
      ? ( $is_task ? translate ( 'Start Time' ) : translate ( 'Time' ) ) . ': '
       . display_time ( '', $display_tzid, $event_time, $userTformat ) . "\n"
      : ( ( $row[2] == 0 &&  $row[5] = 1440) ? translate ( 'Time' ) . ': ' 
	  . translate ( 'All day event' ). "\n" : '' ) )
     . ( $row[5] > 0 && ! $is_task
      ? translate ( 'Duration' ) . ': ' . $row[5] . ' '
       . translate ( 'minutes' ) . "\n"
      : ( $is_task ? translate ( 'Due Date' ) . ': ' . date_to_str ( $row[11] )
       . "\n" . translate ( 'Due Time' ) . ': ' . display_time ( $row[12],
         $display_tzid, '', $userTformat ) . "\n" : '' ) )







|







397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
    $body .= strtoupper ( $name ) . "\n\n" . translate ( 'Description' )
     . ":\n" . $padding . $description . "\n"
     . ( $is_task ? translate ( 'Start Date' ) : translate ( 'Date' ) )
     . ': ' . date_to_str ( ( $row[2] > 0? date ( 'Ymd', $event_date ) : gmdate ( 'Ymd', $event_date ) ) ) . "\n"
     . ( $row[2] > 0 
      ? ( $is_task ? translate ( 'Start Time' ) : translate ( 'Time' ) ) . ': '
       . display_time ( '', $display_tzid, $event_time, $userTformat ) . "\n"
      : ( ( $row[2] == 0 &&  $row[5] == 1440) ? translate ( 'Time' ) . ': ' 
	  . translate ( 'All day event' ). "\n" : '' ) )
     . ( $row[5] > 0 && ! $is_task
      ? translate ( 'Duration' ) . ': ' . $row[5] . ' '
       . translate ( 'minutes' ) . "\n"
      : ( $is_task ? translate ( 'Due Date' ) . ': ' . date_to_str ( $row[11] )
       . "\n" . translate ( 'Due Time' ) . ': ' . display_time ( $row[12],
         $display_tzid, '', $userTformat ) . "\n" : '' ) )