Fixes dayLayoutAlgorithm
prop with custom function
#1562
Merged
dayLayoutAlgorithm
prop with custom function
#1562