popcodeorg / popcodeorg/popcode

Internationalize time formatting

Open
#1,679 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

code quality
Dominant language
JavaScript
Stars
191
Forks
143
Avg merge
4d 11h
Merged PRs (30d)
5

Description

util/timeFormatter is currently hard-coded to produce an English date. We should make it possible to produce date strings in the current locale.

I believe the format function of i18next will be of use here.

Followup to #1511

Contributor guide

No contributing guide indexed for this repository

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 with util/timeFormatter and the follow-up issue #1511, then review i18next's format function documentation. Update the formatter so date strings use the current locale, and verify that the resulting output is no longer hard-coded to English.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
internationalization, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.