Skip to content

Resource creation date column don't use datetime.utcnow() #3447

@Engerrs

Description

@Engerrs

CKAN Version if known (or site URL)

Current version

Expected behaviour

When creating resource for dataset and entering to it summary page, in additional information table, there are two dates of Creation. One is showing only month,day,year. Second one is showing when we click on 'Show more' button under the table, this field should show how much time ago the resource was created, for example, if it was created just now, it should display 'Just now'.

Actual behaviour

When we create new resource for dataset, on resource summary page in additional information table, when we click 'Show more', field 'created' shows '-1 days ago'.

What steps can be taken to reproduce the issue?

1.Create dataset.
2.Create resource for this dataset.
3.Enter resource summary page.
4.Click 'Show more' under the Additional info table.
5.'created' field shows '-1 days ago'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions