Skip to content

Provide a proper endDate in publishedBy field #465

@dchiquito

Description

@dchiquito

When publishing, dandi-api generates a publishedBy field with some information about the publish process. Two of the required fields are startDate and endDate. Generating the metadata to use in the publishing is the first step, so it isn't possible to know what endDate at that time.

Since publishing is a relatively quick operation, dandi-api has been setting startDate and endDate to the same timestamp, determined at the start of the publishing process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmetadataIssues of dandiset/asset metadata handling

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions