News for hackers. Stuff that matters.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by yohannesk on Tuesday March 31, 2026 @04:07AM (#47584134)
And we also need localization. Each country can have their own holidays
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by rolandog on Tuesday March 31, 2026 @04:35AM (#47584345)
And we need groups of locales for teams that are split across multiple locations; e.g.:

  new_date = add_workdays(
    workdays=1.5,
    start=datetime.now(),
    regions=["es", "mx", "nl", "us"],
  )
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by mewpmewp2 on Tuesday March 31, 2026 @04:59AM (#47584525)
Hopefully "es" will have Siesta support too.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by zdc1 on Tuesday March 31, 2026 @04:51AM (#47584469)
Might be better to calculate them separately for each locale and then tie-break with your own approach (min/max/avg/median/etc.)
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by wongarsu on Tuesday March 31, 2026 @06:30AM (#47585263)
Don't forget about regional holidays, which might follow arbitrary borders that don't match any of the official subdivisions of the country. Or may even depend on the chosen faith of the worker
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by reaperducer on Tuesday March 31, 2026 @09:01AM (#47586754)
Pulaski day in Illinois. Or Reds Opening Day in Cincinnati.