Closed GoogleCodeExporter closed 8 years ago
I tried the export again and got a string representation of the date values. I
don't know whether this was a result of just restarting refine or when I tried
to work around the issue by using Edit column -> Add a column based on this
column and using value.toString() as my expression for the new column.
Original comment by geoffh...@gmail.com
on 23 Dec 2010 at 12:00
Here's a number of files related to this bug.
First, there's patch that will fix the issue. This change formats
GregorianCalendar objects using the default date format provided by
SimpleDateFormat. I'm not sure if this is the correct format, but I had to
choose something.
dates.txt is a test file that can be used to recreate the problem (with the
steps above).
dates.csv is a sample of the bad behavior.
dates_fixed.csv is the exported file after applying the patch.
Original comment by GabrielS...@gmail.com
on 27 Dec 2010 at 6:11
Attachments:
I just noticed that I posted a bad patch file earlier, so here's an updated
patch and a unit test.
Original comment by GabrielS...@gmail.com
on 27 Dec 2010 at 8:41
Attachments:
Fixed by r1967.
Gabriel, I've changed your patch to output dates in ISO8601 format instead.
Original comment by dfhu...@gmail.com
on 28 Dec 2010 at 3:55
ISO 8601 is a much better choice than using the default format.
Just a quick nit: the updated unit test fails because the test grid isn't large
enough. I've attached another patch to fix this.
Original comment by GabrielS...@gmail.com
on 28 Dec 2010 at 4:55
Attachments:
Issue 353 has been merged into this issue.
Original comment by tfmorris
on 21 Mar 2011 at 3:12
Original comment by tfmorris
on 9 Jun 2011 at 7:58
Original issue reported on code.google.com by
geoffh...@gmail.com
on 22 Dec 2010 at 11:50