Skip to content

Conversation

@justpiple
Copy link
Contributor

@justpiple justpiple commented Dec 18, 2025

Description

This Pull Request introduces Indonesian (id) localization support. It enables the library to parse time durations written in Indonesian and adheres to Indonesian numeric formatting standards.

Key Changes

  • Created locale/id.js containing Indonesian time units and common abbreviations.
  • Added support for Indonesian-specific units:
    • tahun, thn (year)
    • bulan, bln (month)
    • minggu, mgg (week)
    • hari, hr (day)
    • jam, j (hour)
    • menit, mnt (minute)
    • detik, dtk, det (second)
  • Configured Indonesian numeric separators:
    • group: . (e.g., 1.000 for thousands)
    • decimal: , (e.g., 1,5 for decimals)

Checklist

  • Inherits from en.js to maintain backward compatibility with English units.
  • Includes common Indonesian abbreviations used in daily communication.
  • Follows the project's existing locale structure and logic.

@dy dy merged commit 42609f2 into jkroso:master Dec 21, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants