Asem75 commited on
Commit
6a807f4
·
verified ·
1 Parent(s): a9d10a4

Update hijri_calendar_engine.js

Browse files
Files changed (1) hide show
  1. hijri_calendar_engine.js +2 -1
hijri_calendar_engine.js CHANGED
@@ -4,7 +4,8 @@
4
  // Calendar id, month lengths and scan limits come from hijri_calendar_registry.json via configure().
5
  globalThis.HijriCalendarEngine = (() => {
6
  // Used only when configure() was never called (older callers); the registry always wins.
7
- const LEGACY=Object.freeze({calendar_id:'islamic',month_lengths:[29,30],months_per_year:12,max_scan_days:400});
 
8
  let config=null;
9
  const cfg=()=>config||LEGACY;
10
  const DAY=86400000;
 
4
  // Calendar id, month lengths and scan limits come from hijri_calendar_registry.json via configure().
5
  globalThis.HijriCalendarEngine = (() => {
6
  // Used only when configure() was never called (older callers); the registry always wins.
7
+ // The calendar is Umm al-Qura (Saudi) as chosen by the project owner; the previous default was 'islamic' (astronomical).
8
+ const LEGACY=Object.freeze({calendar_id:'islamic-umalqura',month_lengths:[29,30],months_per_year:12,max_scan_days:400});
9
  let config=null;
10
  const cfg=()=>config||LEGACY;
11
  const DAY=86400000;