mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #8467] [Bug] CSV date import bug – fallback to 01/01/1970 on larger files #3864
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#3864
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @twinstef on GitHub (Feb 1, 2026).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8467
Originally assigned to: @appflowy on GitHub.
Bug Description
Summary
When importing a CSV file with a Date column into AppFlowy , date parsing fails and all dates are set to 01/01/1970 (Unix epoch) once the file exceeds a certain size.
This happens even when all date values are valid and identical.
S-1-180-minimal-oneDateNoChar.csv
How to Reproduce
Environment
Actual behavior
Key observations
The issue is not caused by invalid data
Reproduced with:
Splitting the file into smaller chunks (e.g. 30 rows each) works every time
Re-importing AppFlowy’s own exported CSV also fails at scale
On Ubuntu Desktop, the bug occurs even with smaller files
Strong indication
This looks like a threshold-related bug in the CSV import logic (type inference or date parsing), where:
Suggested fix
If date parsing fails:
-Do not default to Unix epoch
If too many parse failures occur:
Avoid silent fallback to 01/01/1970
Minimal reproduction
-> Start , Localtion
-> 17/04/2025 , Annecy
-> 17/04/2025 , Annecy
-> ...
Expected Behavior
Valid dates should be imported correctly
If a date cannot be parsed, the cell should be left empty or treated as text
Import should never silently replace values with 01/01/1970
Operating System
Windows 11 + Ubuntu 24.04
AppFlowy Version(s)
0.11.1
Screenshots
Additional Context
No response
@twinstef commented on GitHub (Feb 2, 2026):
I compiled the Windows desktop version of AppFlowy from the GitHub repository to try to fix the bug.
Strangely, the compiled version shows version 0.9.9 and not 0.11.1 (even though I cloned the source code yesterday), and the bug doesn't appear in this version.
Dates are imported correctly.
@appflowy commented on GitHub (Feb 4, 2026):
@twinstef Thank you for reporting this. The 0.11.1 use server side csv import. I am working on it. Will let you know when it's ready.
@appflowy commented on GitHub (Feb 5, 2026):
@twinstef Can you try to import the csv again with latest version? It should be fixed
@twinstef commented on GitHub (Feb 5, 2026):
It works, Great Job !
Thanks.
tested with desktop v 0.11.1 win11 AppFlowy Cloud Bêta
notion -> appflowy
apflowy -> appflowy
For information, the import of a period (09/02/2026 → 14/02/2026 ) still doesn't work (but it's an other issue)
tested with notion -> appflowy and apflowy -> appflowy export/import
@appflowy commented on GitHub (Feb 22, 2026):
@twinstef Feel free to create another bug report