i18n-tasks icon indicating copy to clipboard operation
i18n-tasks copied to clipboard

False positive with `default` localization format

Open mockdeep opened this issue 1 year ago • 0 comments

When we have a default localization format we can use it without needing to pass the key:

en:
  time:
    formats:
      default: '%m/%d/%Y %-I:%M%P %Z'

Then:

l(record.created_at)

However, i18n-tasks reports this as an unused key.

mockdeep avatar Oct 27 '22 19:10 mockdeep