Skip to content

[FE-74] Locale-aware formatting for dates, numbers, and coordinates #1016

Description

@mftee

Overview

Translating strings is only part of localization. Dates, numbers, and geographic coordinates displayed for land documents must also follow locale conventions — 03/04/2026 means different dates in different locales, which for a land registry is a genuine correctness problem rather than a cosmetic one.

Tasks

  • Use next-intl's formatting helpers for all dates, times, numbers, and percentages rather than manual formatting.
  • Standardize date display and prefer an unambiguous format for legally significant dates.
  • Ensure risk scores and percentages use locale-appropriate decimal separators.
  • Display timestamps in the user's timezone with the timezone indicated, and store in UTC.
  • Ensure map coordinates use a consistent, documented format.
  • Add tests asserting formatting differs correctly across the three locales.

Acceptance Criteria

  • All dates and numbers render through locale-aware formatters.
  • Legally significant dates are unambiguous in every locale.
  • Formatting differences across locales are covered by tests.

Dependencies

Pairs with [FE-70].

Notes for Contributors

Comment below to be assigned.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions