Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking change fix daylight detection from timezone utc to local timezone needs adjustment in config file #204

Conversation

OliverDrechsler
Copy link
Owner

Fix daylight detection from timezone utc to local timezone defined in config.yaml file
See config_template.yaml section:
photo_general:
timezone: "Europe/Berlin" # timezone for daylight detection
location: "Berlin" # location for daylight detection

This is a breaking change!
Config file must be adjusted to this accordingly.

Description 📋

Please include a summary of the changes made in this PR and provide any context necessary for the change.
Fixes # (issues)

Type of change 🤔

Please tick any that are relevant to this PR and remove any that aren't.

  • Bugfix (non breaking change which resolve an issue)
  • Breaking Change (a change which would cause existing functionality to not work as expected)
  • Documentation (a change to documentation)

Submission checklist ✅

  • I have performed a self review of my changes
  • I have updated the documentation where relevant
  • My changes are well written and all ci is passing
  • I checked GitHub Action FDIa ci.yml run successful and added unit-tests

…config.yaml file

See config_template.yaml section:
photo_general:
  timezone: "Europe/Berlin" # timezone for daylight detection
  location: "Berlin" # location for daylight detection

This is a breaking change!
Config file must be adjusted to this accordingly.
Copy link

sonarqubecloud bot commented Feb 2, 2025

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.34%. Comparing base (ff4a2d2) to head (208f3b0).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #204      +/-   ##
==========================================
+ Coverage   83.28%   83.34%   +0.05%     
==========================================
  Files          32       32              
  Lines        1962     1969       +7     
==========================================
+ Hits         1634     1641       +7     
  Misses        328      328              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@OliverDrechsler OliverDrechsler merged commit a970641 into master Feb 2, 2025
14 checks passed
@OliverDrechsler OliverDrechsler deleted the fix/local_timezone_sunrise_and_sunset_detect_instead_common_utc_time branch February 2, 2025 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants