-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Error importing date from ODS file #2224
Copy link
Copy link
Closed
Labels
ODSImport/export from/to LibreOffice spreadsheetsImport/export from/to LibreOffice spreadsheetsType: BugIssues related to software defects or unexpected behavior, which require resolution.Issues related to software defects or unexpected behavior, which require resolution.importAbout importers in general - add a label for the data format if availableAbout importers in general - add a label for the data format if available
Milestone
Metadata
Metadata
Assignees
Labels
ODSImport/export from/to LibreOffice spreadsheetsImport/export from/to LibreOffice spreadsheetsType: BugIssues related to software defects or unexpected behavior, which require resolution.Issues related to software defects or unexpected behavior, which require resolution.importAbout importers in general - add a label for the data format if availableAbout importers in general - add a label for the data format if available
Describe the bug
A date in a cell in a ODS file is imported as a "java.util.GregorianCalendar" and displayed as
java.util.GregorianCalendar[time=1546297200000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Europe/Paris",offset=3600000,dstSavings=3600000,useDaylight=true,transitions=184,lastRule=java.util.SimpleTimeZone[id=Europe/Paris,offset=3600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=1,YEAR=2019,MONTH=0,WEEK_OF_YEAR=1,WEEK_OF_MONTH=1,DAY_OF_MONTH=1,DAY_OF_YEAR=1,DAY_OF_WEEK=3,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OFFSET=3600000,DST_OFFSET=0] |
To Reproduce
Create a ODS file with Libreoffice
Put a date in a cell (like 1/1/2000)
Import into openrefine
Current Results
What results occured or were shown.
Expected behavior
A clear and concise description of what you expected to happen or to show.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OpenRefine (please complete the following information):
Datasets
If you are allowed and are OK with making your data public, it would be awesome if you can include or attach the data causing the issue or a URL pointing to where the data is.
If you are concerned about keeping your data private, ping us on our mailing list
Additional context
Add any other context about the problem here.