mirror of
https://github.com/bendtherules/is-nifty-open.git
synced 2026-08-19 00:32:31 +00:00
Calculate next closing only from events and not weekends
This commit is contained in:
@@ -23,7 +23,8 @@ export class NextOpenCloseMini extends React.Component<NextOpenCloseMiniProps, {
|
||||
this.openOrClose = props.openOrClose;
|
||||
this.allHolidays = props.allHolidays;
|
||||
|
||||
this.nextOpenOrCloseDate = Utils.findNextOpenOrCloseFromDate(this.xDay, this.allHolidays, this.openOrClose);
|
||||
this.nextOpenOrCloseDate = Utils.findNextOpenOrEventCloseFromDate(
|
||||
this.xDay, this.allHolidays, this.openOrClose);
|
||||
}
|
||||
|
||||
getOpeningClosingString() {
|
||||
|
||||
Reference in New Issue
Block a user