diff --git a/.docker/services/outpost-api-service/outpost-api-service.yml b/.docker/services/outpost-api-service/outpost-api-service.yml index b36f6252..039d647e 100644 --- a/.docker/services/outpost-api-service/outpost-api-service.yml +++ b/.docker/services/outpost-api-service/outpost-api-service.yml @@ -2,7 +2,7 @@ version: "3.7" services: outpost-api-service: image: ghcr.io/wearefuturegov/outpost-api-service:latest - platform: linux/arm64 + platform: linux/amd64 environment: NODE_ENV: development FORCE_SSL: false diff --git a/app/models/regular_schedule.rb b/app/models/regular_schedule.rb index 2478f06b..1e654c2d 100644 --- a/app/models/regular_schedule.rb +++ b/app/models/regular_schedule.rb @@ -117,7 +117,7 @@ def description "Every #{month}#{day} from #{dtstart.strftime("%d/%m/%Y")} at #{opens_at.strftime("%I:%M%P")} to #{closes_at.strftime("%I:%M%P")}#{ends}" end else - "#{dtstart.strftime('%A')} from #{opens_at.strftime("%I:%M%P")} to #{closes_at.strftime("%I:%M%P")}" + "#{dtstart.strftime('%A%e %B %Y')} from #{opens_at.strftime("%I:%M%P")} to #{closes_at.strftime("%I:%M%P")}" end else # opening time diff --git a/spec/models/regular_schedule_spec.rb b/spec/models/regular_schedule_spec.rb index 9eaf3efa..828296ce 100644 --- a/spec/models/regular_schedule_spec.rb +++ b/spec/models/regular_schedule_spec.rb @@ -408,7 +408,7 @@ let(:dtstart) { DateTime.new(2023, 10, 4) } # Wednesday context 'single event time' do it 'should return description of the single event time' do - expect(regular_schedule.description).to eq("Wednesday from #{opens_at.strftime("%I:%M%P")} to #{closes_at.strftime("%I:%M%P")}") + expect(regular_schedule.description).to eq("#{dtstart.strftime('%A%e %B %Y')} from #{opens_at.strftime("%I:%M%P")} to #{closes_at.strftime("%I:%M%P")}") end end