tc39 / tc39/tc39.github.io

Localize date strings

Open
#230 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
336
Forks
63
Avg merge
12h
Merged PRs (30d)
8

Description

We have date strings for the notes. These are currently in English and it will be a pain to update them manually all the time. We could use intl here but that would require running js (we limit how much js we use, it should really be used for enhancement and this is a readability issue). We could also automatically generate the correct date strings from the _data/stage3.yml file. Open to solutions here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the note date strings and the _data/stage3.yml source, then trace how that data becomes the site output. Compare the proposed Intl-based approach with generation from the YAML; done means dates are localized automatically, remain readable without unnecessary JavaScript, and no longer need manual updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
localization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.