t1794t7586 / mdcsvimporter

Automatically exported from code.google.com/p/mdcsvimporter
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Importer does not handle February 29th #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try Import a file containing the date 29/02 in DD/MM format

What is the expected output? What do you see instead?

I expect to see the file format recognised. The file format is not recognised. 
If i change the date by hand to 28/02, the format is recognised.

What version of the product are you using? On what operating system?
15.7.5 - MacOS 10.7.2 MD Version 2010 r3 (751)

Please provide any additional information below.

Original issue reported on code.google.com by sarfaraz...@gmail.com on 31 Mar 2012 at 1:07

GoogleCodeExporter commented 9 years ago
I don't know that I will look at that because why would you get a date without 
a year on it?

Original comment by stashu....@gmail.com on 1 Jul 2012 at 5:57

GoogleCodeExporter commented 9 years ago
I happened to see this issue so I gave it a look. In the custom reader you can 
set your date format so I set it to DD.MM. I imported a file that I took the 
yyyy's out of. It did import. It uses today's YYYY.
I also realize that your issue was with Feb. 29th (leap year) and not using a 
MM.DD format, right? I gave that a look and it is not accepting Feb 29, 2012 
which should be valid. Off hand it looks like a Java problem because I am using 
a standard java routine. I tried using a newer version of java to see if that 
corrects it, but even though I installed java 1.7_25, it still uses 1.7_07 I 
think and I do not know why. So, I will leave this open as a problem at this 
point.

Original comment by stashu....@gmail.com on 23 Jun 2013 at 1:03