Skip to content

lost one second when parse datetime #269

@ohmycloud

Description

@ohmycloud

save the ts column into test.xlsx

ts
2023-10-31 00:39:00

convert test.xlsx to test.csv:

xlsx2csv test.xlsx test.csv  --dateformat '%Y-%m-%d %H:%M:%S'

the datetime 2023-10-31 00:39:00 is convert to 2023-10-31 00:39:00, with one second lost(run head test.csv):

ts
2023-10-31 00:38:59

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions