Subject: | Need use_1904_date() exposed. |
I get spreadsheets from a variety of sources and, unfortunately, I don't always know if they're using the 1900 or 1904 date system (http://blogs.perl.org/users/ovid/2013/10/fighting-20-year-old-software-bugs.html). With Spreadsheet::ParseExcel, it's trivial:
my $parser = Spreadsheet::ParseExcel->new->parse($excel);
say $parser->using_1904_date ? 1904 : 1900;
If you could expose that value, it would be very handy. Every attempt I've made to work around this has hit yet another bug: http://stackoverflow.com/questions/19122203/spreadsheetparseexcelstream-losing-its-parser
Cheers,
Ovid