| commit | 286564731295af67dc70f6cca5ee0146f70dbb39 | [log] [tgz] |
|---|---|---|
| author | j <[email protected]> | Tue Jan 22 19:47:14 2019 -0800 |
| committer | GitHub <[email protected]> | Tue Jan 22 19:47:14 2019 -0800 |
| tree | d157c3e038a212284c18126967b3acabe206960c | |
| parent | 196033d67de90e0d370a4ee4ffabc23a9af0d56b [diff] |
try to fix timezone again (p3 dev calendar bugfix)
diff --git a/dev.js b/dev.js index 55b8503..5bf68e5 100644 --- a/dev.js +++ b/dev.js
@@ -785,8 +785,7 @@ var styles = window.getComputedStyle($(".class." + i)[0]); calEvents.push({ title: dtps.classes[i].stream[ii].title, - start: dtps.classes[i].stream[ii].dueDate, - timezone: "UTC", + start: moment(new Date(dtps.classes[i].stream[ii].dueDate)).toISOString(true), allDay: false, color: styles.getPropertyValue('--norm'), classNum: i,