Skip to content

Update et-orbi to 1.2.11 to fix daylight saving issue

Tianwen Chen requested to merge 444343-fugit into master

What does this MR do and why?

Update gem et-orbi to 1.2.11 to fix daylight saving issue

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  • Add gem 'et-orbi', '1.2.7' to Gemfile, and run bundle install
  • Run and see the wrong value
    $ rails runner 'puts Fugit::Cron.parse("0 6 * * tue%2+1 America/Los_Angeles").next_time(Time.zone.parse("2024-05-01")).to_s'
    2024-11-12 14:00:00 +0000
  • Revert the change and run bundle install again
  • Run and check the correct value
    $ rails runner 'puts Fugit::Cron.parse("0 6 * * tue%2+1 America/Los_Angeles").next_time(Time.zone.parse("2024-05-01")).to_s'
    2024-05-07 13:00:00 +0000

Related to #444343 (closed)

Merge request reports