t\99legacy.t .... 1/5
# Failed test 'LEGACY: parse array'
# at t\99legacy.t line 17.
# got: '1969-12-31T19:00:00'
# expected: '2000-01-01T06:00:00'
# Failed test 'LEGACY: parse with no args dies'
# at t\99legacy.t line 19.
# got: '1969-12-31T19:00:00'
# expected: '2000-01-01T06:00:00'
# Failed test 'LEGACY: parse as non-method dies'
# at t\99legacy.t line 21.
# got: '1969-12-31T19:00:00'
# expected: '2000-01-01T06:00:00'
# Looks like you failed 3 tests of 5.
t\99legacy.t .... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/5 subtests
For reference:
C:\... > perl -MTime::Local -E "say scalar localtime timelocal(0, 0, 6, 1, 0, 100)"
Sat Jan 1 06:00:00 2000
and
C:\... > type st.c
#include <stdio.h>
#include <time.h>
#define MYBUFSZ 200
int main(void)
{
char buffer[MYBUFSZ];
time_t t = (time_t) 946724400;
strftime(buffer, MYBUFSZ, "%Y-%m-%dT%H:%M:%S %Z", localtime(&t));
puts(buffer);
return 0;
}
C:\... > st
2000-01-01T06:00:00 Eastern Standard Time
Ran into this while investigating issue #33.
I get:
For reference:
and