Skip to content

Commit

Permalink
Fixed bug when clearing quiet hours
Browse files Browse the repository at this point in the history
  • Loading branch information
greghesp committed Dec 2, 2019
1 parent cdb7be0 commit 411a681
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions client/src/views/dash/Configuration/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,19 @@ function Configuration({history}){
<TimePicker
defaultValue={moment(quietHours.start, 'HH:mm')}
format={'HH:mm'}
onChange={(t,s) => setQuietHours({enabled: true, start: s, end: quietHours.end})}/>
onChange={(t,s) => {
if(!s) s = "00:00";
setQuietHours({enabled: true, start: s, end: quietHours.end})
}}/>

<Text>End Time:</Text>
<TimePicker
defaultValue={moment(quietHours.end, 'HH:mm')}
format={'HH:mm'}
onChange={(t,s) => setQuietHours({enabled: true, start: quietHours.start, end: s})}/>
onChange={(t,s) => {
if(!s) s = "00:00";
setQuietHours({enabled: true, start: quietHours.start, end: s})
}}/>
</Styles.QuietHours>
)
}
Expand Down
3 changes: 3 additions & 0 deletions readMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Send Assistant Relay any query you would send the Google Assistant SDK, and get

It also supports the Google Home Broadcast command so you can send audio notifications to your Google Home devices, without interrupting music.

## New in V3.0.6
- Fixed a [bug](https://github.com/greghesp/assistant-relay/issues/135) that set invalid date when clearing quiet hours times

## New in V3.0.5
- Fixed a [bug](https://github.com/greghesp/assistant-relay/issues/128) preventing remote configuration that was found in v3.0.4 (Sorry!)
- [Removed playback of Emojis](https://github.com/greghesp/assistant-relay/issues/127) when using the converse parameter
Expand Down
2 changes: 1 addition & 1 deletion relay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "assistant-relay",
"version": "3.0.4",
"version": "3.0.6",
"description": "Middleman server to allow custom integration with Google Home/Assistant",
"keywords": [
"google",
Expand Down

0 comments on commit 411a681

Please sign in to comment.