Skip to content

Commit

Permalink
Set radio timeslot.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaburke91 committed Sep 6, 2017
1 parent 954b1bb commit e92dbf6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
14 changes: 6 additions & 8 deletions client.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,12 @@ function setupRadioPlayer() {
});


let startTime = moment().add(2, 'seconds');
let endTime = moment().add(7, 'seconds');
// let endTime = moment().add(2000000, 'seconds');
// let startTime = moment.utc("2017-09-04 14:12"); // yyyy-mm-dd
// let endTime = moment.utc("2017-09-04 14:13"); // yyyy-mm-dd
// console.log(startTime.toDate());
// console.log(endTime.toDate());

// let startTime = moment().add(2, 'seconds');
// let endTime = moment().add(7, 'seconds');
let startTime = moment.utc("2017-09-07 17:00"); // yyyy-mm-dd
let endTime = moment.utc("2017-09-07 18:00"); // yyyy-mm-dd
console.log(startTime.toDate());
console.log(endTime.toDate());

let autoplayed = false; // Only autoplay once (don't want to autoplay after it's been actively paused.
function handleRadioTextDisplay() {
Expand Down
2 changes: 1 addition & 1 deletion public/css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/css/style.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.min.js.map

Large diffs are not rendered by default.

0 comments on commit e92dbf6

Please sign in to comment.