-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date/time import is broken #971
Comments
I'm also having trouble with the import of date/time data. Like @hatelamers I tried different formats. My guess would be that certain formats are recognized as correct, but looking at the code ImportService.php it seems that it's expecting excel date format, which is probably not recognized as a date format but rather a number. Also excel format doesn't make sense, cause the export format is "2024-04-08 12:35" as @hatelamers pointed out. |
Date import also not working here. For testing I always did the same three steps:
Case 1 - VAL1 [TEXT], VAL2 [TEXT]Works fine Case 2 - VAL1 [TEXT], VAL2[DATE]Trying to import, Preview dialogue appears and looks good, but then in then when actually trying to import I get "Fehler bei der Zeilenerstellung 2". Log file output:
Case 2 - VAL1 [DATE], VAL2[TEXT]In this case not even the Preview dialogue appears, but only a window stating "Importiere Daten aus datefoo.csv" and that's it. Log file output looks similiar to Case 2
|
Steps to reproduce
Date and Time
, date and time) and "Number X" (typeNumber
, 0 decimals)test.csv
test.csv
into "test" tabletest.csv
totest.csv
totest.csv
totest.csv
totest.csv
totext.xlsx
fromtest.csv
(Excel displays correct values)text.xlsx
into "test" tableExpected behavior
Date-time values formatted in industrywide standard form (like ISO 8601, Unix epoch) are recognized and parsed correctly, unrecognized formats are reported as parsing error.
Actual behavior
Date-time values generated by any other program and formatting tool cannot be imported, moreover Tables - although apparently incapable of import - doesn't report any errors in the process. Currently the only parseable (and exportable) format "2024-04-08 12:35" is invalid by all means and useless in data exchange as for missing time zone information.
Tables app version
0.6.6
Browser
Firefox 115.9.1 LSR
Client operating system
Windows
Operating system
Linux 5.15.0-101-generic x86_64
Web server
Apache
PHP engine version
PHP 8.1
Database
MariaDB
Additional info
No response
The text was updated successfully, but these errors were encountered: