Skip to content

Commit

Permalink
troubleshooting date-fns
Browse files Browse the repository at this point in the history
  • Loading branch information
domlet committed Jul 31, 2024
1 parent c3b7c3f commit 237f83f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@
<script type="text/javascript" src="data/SY2324.js"></script>
<script type="text/javascript" src="data/SY2425.js"></script>
<script type="text/javascript" src="data/SY2526.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/cdn.min.js"></script>
<script>
dateFns.addDays(new Date(2014, 1, 11), 10);
//=> Tue Feb 21 2014 00:00:00
</script>
<script type="module">
import { addDays } from '/script/date-fns-3.6.0.js';
import { addDays } from "/date-fns/addDays";
// Expose date-fns to global scope
window.dateFns = { addDays };
</script>
Expand Down Expand Up @@ -238,7 +243,7 @@ <h2>Schedules</h2>
<div class="col py-2 pl-12">
Coliseum College Prep Academy (<a href="https://ccpa.ousd.org/" target="_blank">ccpa.ousd.org</a>) is a public school in East Oakland, California.
This dashboard visualizes our progress through the academic terms in the school year.
Learn more: <a href="https://domlet.github.io/dashboard" target="_blank">github.com/domlet/dashboard</a>
<a href="https://domlet.github.io/student-dashboard" target="_blank"></a>Learn more</a>.
<a href="https://raw.githubusercontent.com/domlet/dashboard/main/images/qr.svg" target="_blank"><img src="https://raw.githubusercontent.com/domlet/dashboard/main/images/qr.svg" style="width:5em; clear:both;display:block; margin:1em 0"></a>
</div>
</div>
Expand Down

0 comments on commit 237f83f

Please sign in to comment.