Changeset 520
- Timestamp:
- 09/05/08 00:09:03 (4 months ago)
- Location:
- cybozu2ical/trunk
- Files:
-
- 3 modified
-
cybozu2ical (modified) (3 diffs)
-
lib/WWW/CybozuOffice6/Calendar.pm (modified) (1 diff)
-
lib/WWW/CybozuOffice6/Calendar/Event.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cybozu2ical/trunk/cybozu2ical
r519 r520 18 18 use Getopt::Long; 19 19 20 our $VERSION = '0.3 1';20 our $VERSION = '0.32'; 21 21 22 22 ### … … 140 140 dtstamp => to_icaldate( $item->modified ), 141 141 ); 142 143 $args{comment} = decode_utf8( $item->comment )144 if $opt{debug} && $item->comment;145 142 146 143 if ( $item->is_full_day ) { … … 196 193 if $opt{url}; 197 194 195 $args{comment} = decode_utf8( $item->comment ) 196 if $opt{debug} && $item->comment; 197 198 198 $vevent->add_properties(%args); 199 199 $vcalendar->add_entry($vevent); -
cybozu2ical/trunk/lib/WWW/CybozuOffice6/Calendar.pm
r515 r520 12 12 use WWW::CybozuOffice6::Calendar::RecurrentEvent; 13 13 14 our $VERSION = '0.3 1';14 our $VERSION = '0.32'; 15 15 16 16 sub new { -
cybozu2ical/trunk/lib/WWW/CybozuOffice6/Calendar/Event.pm
r518 r520 34 34 # (set_time == empty) => A full-day event 35 35 # (set_time != empty) && (end_time == empty) => A malformed event 36 if ( $param{set_time} eq ' :' ) {36 if ( $param{set_time} eq '' || $param{set_time} eq ':' ) { 37 37 $start = $start->truncate( to => 'day' ); 38 38 $end = $end->add( days => 1 )->truncate( to => 'day' ); 39 39 $this->is_full_day(1); 40 40 } 41 elsif ( $param{end_time} eq ' :' ) {41 elsif ( $param{end_time} eq '' || $param{end_time} eq ':' ) { 42 42 $end = $start->clone->add( minutes => 10 ); 43 43 } … … 63 63 return 64 64 unless $ymd 65 && ( $ymd =~ m!^(\d+)/(\d+)/(\d+)$!66 || $ymd =~ m!^da\.(\d+)\.(\d+)\.(\d+)$! );65 && ( $ymd =~ m!^da\.(\d+)\.(\d+)\.(\d+)$! 66 || $ymd =~ m!^(\d+)/(\d+)/(\d+)$! ); 67 67 @args{qw(year month day)} = ( $1, $2, $3 ); 68 68
![(please configure the [header_logo] section in trac.ini)](/public/chrome/common/trac_banner.png)