Subject: | Date portion of <date> fields is missing when reading binary plist under win32 |
I've noticed that under 32-bit Windows (not sure about 64-bit), I have
noticed that when reading a binary plist, such as:
<key>LastUpdate</key>
<date>2013-02-19T20:49:56Z</date>
I get "T20:49:56Z" instead of "2013-02-19T20:49:56Z", using the code below:
Show quoted text
> perl -E " use Mac::PropertyList qw(:all); my $data = parse_plist_file
q/metadata.plist/; my $pd = $data->as_perl; say $data->{LastUpdate}->value "
I get the proper value if I convert the plist file to plain XML. This
only appears to occur under Windows, testing with ActivePerl 5.14.1 on
two different Windows XP 32-bit machines. I could not reproduce this
under Linux with either Perl 5.14.1 or 5.16.1.
Thank you.