From aa752d4839375f313f0d3e0070e85fbbac13ced9 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 16 Jul 2026 16:49:25 +0200 Subject: Aggregate selected weeks in a more human friendly form Weekdays appearing on a subset of the weeks of the month are now aggregated into a simpler form. --- test/models/concerns/rrule_humanizer_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/models/concerns/rrule_humanizer_test.rb b/test/models/concerns/rrule_humanizer_test.rb index c4e78d4..54c4c22 100644 --- a/test/models/concerns/rrule_humanizer_test.rb +++ b/test/models/concerns/rrule_humanizer_test.rb @@ -48,10 +48,10 @@ class RruleHumanizerTest < ActiveSupport::TestCase end test "monthly selected weeks" do - assert_equal "Jeden ersten Dienstag und dritten Dienstag im Monat", - humanize("FREQ=MONTHLY;BYDAY=1TU,3TU") - assert_equal "Every first Tuesday and third Tuesday of the month", - humanize("FREQ=MONTHLY;BYDAY=1TU,3TU", :en) + assert_equal "Jeden ersten, zweiten und fünften Dienstag im Monat", + humanize("FREQ=MONTHLY;BYDAY=1TU,2TU,5TU") + assert_equal "Every first, second and fifth Tuesday of the month", + humanize("FREQ=MONTHLY;BYDAY=1TU,2TU,5TU", :en) end test "monthly fifth weekday" do -- cgit v1.3