Skip to content
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

fix(Import): DateTime import fixes #1545

Merged
merged 2 commits into from
Feb 19, 2025
Merged

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Jan 16, 2025

  • do not try to pass null to DateTimeImmutable as it would cause an Exception
  • be stricter on small letter-only values that might be turned into a DateTimeImmutable object because they match with timezone abbreviations
  • do not consider pure numbers a date

fixes #1518

@blizzz blizzz added bug Something isn't working 3. to review Waiting for reviews labels Jan 16, 2025
@blizzz blizzz requested a review from enjeck as a code owner January 16, 2025 20:02
@blizzz
Copy link
Member Author

blizzz commented Jan 16, 2025

/backport to stable0.8

@backportbot backportbot bot added the backport-request Pending backport by the backport-bot label Jan 16, 2025
@blizzz blizzz force-pushed the fix/1518/import-date-handling branch from 28ae5e4 to 0e60292 Compare January 16, 2025 20:41
@blizzz blizzz requested a review from juliusknorr January 17, 2025 12:50
@blizzz blizzz force-pushed the fix/1518/import-date-handling branch from 0e60292 to 6b663ff Compare January 28, 2025 11:58
@blizzz blizzz requested review from juliusknorr and removed request for juliusknorr January 31, 2025 21:23
@blizzz blizzz requested a review from a team February 12, 2025 21:16
- do not try to pass `null` to DateTimeImmutable as it would cause an
  Exception
- be stricter on small letter-only values that might be turned into a
  DateTimeImmutable object because they match with timezone abbreviations
- do not consider pure numbers a date

Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz blizzz force-pushed the fix/1518/import-date-handling branch from a976f90 to 3f5fc03 Compare February 19, 2025 12:43
@blizzz blizzz merged commit e9b11e5 into main Feb 19, 2025
63 checks passed
@blizzz blizzz deleted the fix/1518/import-date-handling branch February 19, 2025 13:18
@backportbot backportbot bot removed the backport-request Pending backport by the backport-bot label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import CSV file from another Nextcloud Tables instance not working
2 participants