[uf-discuss] A bug in the Technorati's events exporting tool

Yoan BLANC greut.lists at dosimple.ch
Tue Sep 26 01:11:45 PDT 2006


Brian Suda wrote:
> Good catch! i had a look at the issue and the problem was that all our
> test cases "added" the time from the timezone up to 240000, in your
> case you were subtracting to get '0' which was not being checked for
> so things were going padded then that '0' was being added so we got
> '7' instead of '6'. This has been corrected[1]. I have committed the
> changes to HG, so anyone at technorati can pull them down (you might
> need a few files - i'm not sure which version technorati is running).
> I have updated the code at http://suda.co.uk/projects/X2V/ so you can
> test it there as well. I will also add a 'subtraction' instance into
> the test cases as well.
x2v add serious bug with utf-8 (that technorati doesn't have) and now 
the hours are false, not buggy but simply false.

this:

<abbr class="dtend" title="2006-09-30T02:00:00+02:00">...</abbr>

becomes:

DTEND:20060930T020000Z

It's obviously false because:

Z is UTC
+02:00 is CEST

so 2am (CEST) can't be 2am (Z)

http://suda.co.uk/projects/X2V/get-vcal.php?uri=http://www.bikinitest.ch/agenda/2006/09/

Thanks for you work

--
Yoan
>
> -brian
>
> [1] - http://hg.microformats.org/x2v?fd=753da7c7d63c;file=datetime.xsl
>
> On 9/25/06, Yoan BLANC <greut.lists at dosimple.ch> wrote:
>> Hi,
>>
>> I've hCal'd a website that contains with this kind of dtend :
>>
>> <abbr class="dtend" title="2006-09-24T02:00:00+02:00">...</abbr>
>>
>> and feeds.technorati.com/events/ convert it to
>>
>> DTEND:20060924T0000000Z
>>
>> with se7en 0 instead of six.
>>
>> Test it from there :
>> http://feeds.technorati.com/events/http://www.bikinitest.ch/agenda/2006/09/ 
>>
>>
>> Cheers,
>>
>> -- 
>> Yoan Blanc
>> _______________________________________________
>> microformats-discuss mailing list
>> microformats-discuss at microformats.org
>> http://microformats.org/mailman/listinfo/microformats-discuss
>>
>
>



More information about the microformats-discuss mailing list