logoalt Hacker News

yohanneskyesterday at 8:07 AM3 repliesview on HN

And we also need localization. Each country can have their own holidays


Replies

rolandogyesterday at 8:35 AM

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"],
  )
show 2 replies
wongarsuyesterday at 10:30 AM

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

show 1 reply