Changeset 361

Show
Ignore:
Timestamp:
03/22/07 12:34:59 (2 years ago)
Author:
ogawa
Message:

WKST="SU" is added for any RRULEs. This is a kind of a workaround for a bug in Google Calendar (I guess). If no WKST, in Google Calendar recurrent full-day events finish at the previous day of the correct end-date.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cybozu2ical/trunk/cybozu2ical

    r359 r361  
    5959        my $freq = $item->{frequency}; 
    6060        my %rrules = $freq ne 'WEEKDAYS' ? 
    61             ( FREQ => $freq ) : 
     61            ( FREQ => $freq, WKST => 'SU' ) : 
    6262            ( FREQ => 'WEEKLY', WKST => 'SU', BYDAY => 'MO,TU,WE,TH,FR' ); 
    6363        $rrules{UNTIL} = to_icaldate($item->{until}, $item->{is_full_day})