Skip to content

Instant Search: Format/Localize Dates #13390

@gibrown

Description

@gibrown

We could use @wordpress/date, but using that more than doubles the size of our js bundle:

  • w/o - 222240 Sep 2 03:12 jp-search.bundle.js
  • with datei18n - 593190 Sep 2 01:39 jp-search.bundle.js

This is pretty absurd. We should just build our own I think. We need to localize the dates for:

  • filtering
  • displaying results

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] SearchFor all things related to Search[Type] BugWhen a feature is broken and / or not performing as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions