Skip to content
Snippets Groups Projects

search: Ensure CodeMeta dates are properly formatted

Some date values that can be found in codemeta.json files (dateCreated, dateModified, datePublished) might be in a format not parsable by elasticsearch which prevents successfull update of origin intrinsic metadata in elasticsearch indices.

For instance, the date 2021-7-23 cannot be parsed by elasticsearch as it expects 2021-07-23 instead.

So ensure to properly format CodeMeta dates to avoid such indexing errors.

This fixes the following sentry reported issue.


Migrated from D6553 (view on Phabricator)

Merge request reports

Closed by Phabricator Migration userPhabricator Migration user 3 years ago (Oct 26, 2021 3:38pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading