Skip to content

**Parse non-RFC3339 added_at values in list rows** #21

Description

@umpire274

** Parse non-RFC3339 added_at values in list rows**

row_to_book now calls Book::from_row, which loads added_at as Option<DateTime<Utc>>. In rusqlite, that conversion expects RFC3339 or unix timestamps, but this codebase writes added_at via SQLite CURRENT_TIMESTAMP (YYYY-MM-DD HH:MM:SS), so listing can now fail with a row conversion error instead of rendering results. The previous mapper explicitly parsed SQLite timestamp formats and degraded to None, so this introduces a regression for databases containing default timestamp strings.

Useful? React with 👍 / 👎.

Originally posted by @chatgpt-codex-connector[bot] in #20 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions