I'm not very familiar with icalendar format.

http://search.cpan.org/src/DROLSKY/DateTime-Format-ICal-0.08/lib/DateTime/Format/ICal.pm

format_datetime() only adds the time if it's not 00:00:00:

    my $base =
        ( $dt->hour || $dt->min || $dt->sec ?
          sprintf( '%04d%02d%02dT%02d%02d%02d',
                   $dt->year, $dt->month, $dt->day,
                   $dt->hour, $dt->minute, $dt->second ) :
          sprintf( '%04d%02d%02d', $dt->year, $dt->month, $dt->day )
        );

    return $base if $tz->is_floating;

    return $base . 'Z' if $tz->is_utc;

    return 'TZID=' . $tz->name . ':' . $base;

I glanced over RFC 2445 and I don't see this as a problem.  But
this "validator" at http://severinghaus.org/projects/icv/ reports:

Error: Error was: Error at line 181: Unparseable date: "20070424Z"
Cause: Caused by: Unparseable date: "20070424Z"

With the problem entry being:

    DTEND:20070424Z

Is this a problem with the validator?








-- 
Bill Moseley
[EMAIL PROTECTED]

Reply via email to