Jetpack: Instant Search: Format/Localize Dates

Created on 2 Sep 2019  路  2Comments  路  Source: Automattic/jetpack

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
Instant Search Search [Type] Bug

All 2 comments

Done

Was this page helpful?
0 / 5 - 0 ratings