diff --git a/package.json b/package.json index ae1a4fe..0299577 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hype-chat-widget", - "version": "0.3.46", + "version": "0.3.47", "license": "MIT", "description": "Zopim + QnA Chat Web Widget (React)", "main": "dist/index.js", diff --git a/src/components/Widget.js b/src/components/Widget.js index 3cadc94..87ccce7 100644 --- a/src/components/Widget.js +++ b/src/components/Widget.js @@ -20,6 +20,10 @@ if (ENV === 'dev') { window.zChat = zChat } +moment.updateLocale('it', { + workingWeekdays: [1, 2, 3, 4, 5, 6] +}) + class App extends Component { constructor() { super() @@ -679,8 +683,6 @@ class App extends Component { const available = this.isServiceActive(settings) - console.log(moment('2019-21-04').isBusinessDay()) - const availableNow = available && time.isAfter(startTime) &&