Skip to content

Date columns loses zeroes in sqlite #177

Closed
@Luke265

Description

When saving column with a date or when using @CreateDateColumn or @UpdateDateColumn, it saves in this format: 2017-1-8 00:57:4 and sqlite doesn't like that (DATETIME('2017-1-8 00:57:4') returns null). Not sure how about other databases.

TypeORM: v0.0.6
NodeJS: v7.2.0

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions