question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to handle daylight savings?

See original GitHub issue

Hi we have aws-instance-scheduler deployed against a timezone and configured with tags. Is there a way to account for daylight savings? My understanding is that UTC doesn’t account for daylight savings. Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
gocklecommented, Nov 2, 2020

Hi @C-Kenny as correctly pointed out by @jgardsentry setting the timezone to US/Eastern or any other value, The solution will make the necessary adjustments for Daylight time saving. We tested it during the weekend of Oct30/Nov1 transition and it worked as expected. Let me know if you still see any issues with scheduling.

1reaction
gocklecommented, Oct 6, 2020

@C-Kenny Currently there is no support for configuring timezones against daylight savings, we will take it up as a feature in a future release. For now the only way is to use UTC or any timezone and adjust the periods accordingly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Daylight Saving Time: 4 Tips to Help Your Body Adjust
Start preparing a few days early. About a week before “springing forward,” Dr. · Stick to your schedule. Be consistent with eating, social,...
Read more >
Daylight Saving Time – Expert Life Hacks To Help You Cope ...
1. Gradually transition into the time change · 2. Stick to your bedtime routine · 3. Eat smart and choose sleep-inducing foods ·...
Read more >
6 tips to help you spring forward | HealthPartners Blog
How to cope with daylight savings time? · Start getting to bed earlier. · Be consistent. · Enjoy the longer evenings. · Exercise....
Read more >
How to Prepare for the Start and End of Daylight Saving Time
Gradually Adjust Your Schedule · Sleep Well Beforehand · Consider Relaxation Techniques · Set Your Clocks Before Bed · Prioritize Daylight Exposure.
Read more >
5 Tips to Help Your Body Adjust to the Time Change
Go to bed and get up at the same time. Get at least seven hours of sleep on the day(s) before and after...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found