Calendar hours displayed off by one day in Regular hours Edit view

Description

Overview:

Calendar hours displayed offset by one day in Regular hours Edit view. This makes editing the regular hours very confusing.

Steps to Reproduce:

  1. Log into https://folio-snapshot.dev.folio.org/ (2021-11-02)

  2. Go to Settings > Calendar > Opening hours

  3. Select a service point

  4. Click New to add Regular Library Hours

  5. Create a new opening hour period. Let's say the library is open Monday-Friday – add these times to the calendar.

  6. Click Close & save

  7. Click the Edit pen to open the calendar in Edit mode

Expected Results: The calendar is displayed with the opening days and hours you specified.

Actual Results:
The calendar is displayed with the opening days and hours you specified offset by one day. I.e. the library is now open from Tuesday-Saturday.

Additional Information:

Whenever, in the edit mode, you Click Save & Close, the hours displayed are saved to FOLIO. So it's not that a correct days is displayed incorrectly, but what you see is what you save.

I have so far observed this in tenants with language & locale British English/London, and British English/Windhoek. I have not been able to reproduce in English (US)/New York or English (Sweden)/Stockholm.

Interested parties: NUST

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

9

Checklist

hide

TestRail: Results

Activity

Show:

Cheryl MalmborgDecember 2, 2021 at 4:45 PM

Tested on snapshot 12/2/2021. It is working as expected.

Dmitriy LitvinenkoDecember 2, 2021 at 10:21 AM

Hello

Could you please review on the Snapshot env?

Alina DoroshNovember 23, 2021 at 8:48 AM

Hello !

Work as expected on the Snapshot env.

Alina DoroshNovember 18, 2021 at 11:00 AM

When  investigated  several related bugs were found.
Below are the steps to reproduce on the Snapshot env.

 

  •  If user select British local that for Service point first day of the week must start "Mon" to preview the service point.

Preconditions:
1. "Regular Library Hours Validity Period" for " Online" created
2. British local in "Locale (for language display, date format etc.)"  selected 

Steps to reproduce: 
1.Open Calendar app
2. Select Online service point 
3. Pa attention on the first day of the week

Actual result: First day of the the week starts "Sun"
Expected result: First day of the week starts "Mon" for British local

Notice: evidence have been added.

 

  • If user select British local that for Service point first day of the week must start "Mon" for "Exceptions period"

Preconditions:
1. British local in "Locale (for language display, date format etc.)"  selected 
2. Calendar app is opened
3. "Open calendar to add exceptions" is clicked

Steps to reproduce:
1. Select "Online" service point
2. Observe result

Actual result: First day of the the week starts "Sun" on the "Exceptions period"
Expected result: First day of the the week starts "Mon" on the "Exceptions period"
 
Notice: evidence have been added.

  •  First day of the the week starts "Mon" on the "Regular Library Hours Validity Period" if user select British local

Preconditions:
1. Calendar app is opened
2. "Regular Library Hours Validity Period" for Online created
3. British local in "Locale (for language display, date format etc.)"  selected 
4. "Regular Library Hours Validity Period" for Online created

Steps to reproduce:
1. Click on the Valid from date picker
2. Add  library hours for any day in the calendar
3. Observe result

Actual result: First day of the the week starts "Sun" on the "Regular Library Hours Validity Period"
Expected result: First day of the the week starts "Mon" on the "Regular Library Hours Validity Period"
 
Notice: evidence have been added.
 

AnyaNovember 16, 2021 at 3:51 PM

at the bequest of  I have changed this to lotus R1 2022

Done

Details

Assignee

Reporter

Tester Assignee

Labels

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

Release

Lotus R1 2022

Affected Institution

!!!ALL!!!

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 2, 2021 at 12:01 PM
Updated February 24, 2022 at 12:32 PM
Resolved December 2, 2021 at 5:17 PM
Loading...