Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by rolandog

25 days ago

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"],
  )

3 comments

rolandog

Reply

mewpmewp2  25 days ago

Hopefully "es" will have Siesta support too.

  • rolandog  24 days ago

    [dead]

zdc1  25 days ago

Might be better to calculate them separately for each locale and then tie-break with your own approach (min/max/avg/median/etc.)

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities