Skip to content

Malformed Last Updated field #1490

@luiscoms

Description

@luiscoms

Expected Behavior

I set DATE_FORMAT config with following value

DATE_FORMAT = '%Y-%m-%d %H:%M:%S%z'

When I get resource, the _updated field does not show timezone

Actual Behavior

Result of get resource:

Screenshot from 2022-10-19 17-25-11

Fields on MongoDB
Screenshot from 2022-10-19 17-19-50

Environment

  • Python version: 3.9.9
pip freeze -r requirements.txt
config-client==1.1.0
Eve==1.1.5
Eve-Elastic==7.2.1
eve-healthcheck==0.3.1
gunicorn==20.1.0
MarkupSafe==1.1.1
PyQueueManager==1.12.1
PyYAML==6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions