Closed (fixed)
Project:
Office Hours
Version:
8.x-1.2
Component:
Code - widget
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2019 at 11:34 UTC
Updated:
27 Jun 2024 at 12:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mmrares commentedComment #3
johnvHmm, could you post a printscreen of the affected slots?
I am not sure if the change is correct in all cases.
Which Field formatter do you use?
Comment #4
johnvComment #5
andrei.godea commentedWhen having multiple exception periods, the values were stored in arrays so the validation was not working correctly and there were multiple empty slots displayed.
Comment #6
andrei.godea commentedComment #7
arpadpalko commentedAlso check if the values are not empty.
Comment #8
arpadpalko commentedComment #9
arpadpalko commentedComment #10
johnvI created #3110642: Introduce OfficeHoursDateTime::get() and isEmpty() to factor code out.
Comment #12
johnvThanks, the latest correction using 'time' hinted me to the correct code.
Please checkout the current dev-version, and confirm if the problem is solved.
Comment #14
johnv