Awesome idea, some suggestions (to fit my use case) My annual leave resets on April 1st, so being able to change the year would be handy. I worked compressed hours (I have every Friday off) I can carry over 5 unused days to the next year, and buy 5 more days. This might impact what days I take off.
Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days
21–30 of 177 posts
Re: Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days
#22This is a great idea for something I typically do manually to plan around maximizing vacation time around when my kids have off. Would recommend being able to adjust the public holidays - for example: Juneteenth and Veterans day off were not days off of school+work. Other future improvements would be some kind of tie in for airfare - these are typically some of the most expensive times to fly. Love the idea
Also it would be great to be able to add "corporate" holidays, where the whole company is off because of X reason.
Re: Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days
#23Re: Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days
#24If you think it would be fun, maybe you could expose different algorithm choices for how to allocate the blocks?
Eg, I don't necessarily need to maximize the block lengths, but would like the holidays to be more evenly spread through the year. At the moment, it gives me a huge block around the easter period and another one week block later in the same month. And then, there are no holidays for an entire six months from the end of May to the start of November, despite several public holidays in between! I suggest an alternative algorithm would seek fewer one-week blocks and more long-weekend blocks, with some sort of pressure which penalizes blocks for being too close together?
Re: Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days
#25It'd be nice to have different options to maximise my annual leave. For example, if I have 10 days off + 13 public holidays, the website shows all combinations to maximise the number of days off work.
Re: Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days
#26Re: Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days
#27In NSW Australia, it shows 11 days between Dec 21 and Dec 31, but Jan 1 is a public holiday here and you capsule add Jan2&3 plus the following weekend to get 16 days 21 Dec 2024 through 5 Jan 2025.
Re: Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days
#28Very cool! It would be helpful if you just made a list of holidays we could check off. Im going to use this!
Thanks so much! ChatGPT and I just added a quick feature to hide certain holidays from a particular year, stored in LocalStorage. Let me know if it works like you expect :)
Re: Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days
#29Nowadays, I find that the best time to take PTO is when I feel like taking PTO. Taking a long weekend when I’m feeling burnt out or disengaged goes much further for me than grinding for the entire first half of th year to get a week off for 4th of July. YMMV.
Re: Show HN: Stretch My Time Off – An Algorithm to Optimize Your Vacation Days
#30Something is strange in the math for "Let's stretch your time off from X days to Y days" I am in the US, and it says I have 11 days off. If I say I get 0 days off, it says: "Let's stretch your time off from 0 days to 18 days". It looks like it's counting the weekends prior to a holiday no matter what as a "bonus" day, which is a strange methodology to me. (I would expect that it would only count days that it performe…
Thanks, the count could indeed be improved. I left it as counting all clusters > 2 days as valid extra time off, so all 3 day weekends made from national holidays would be included. But of course it's over optimistic :)