Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create empty program table for 2022 #162

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 47 additions & 13 deletions program.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,60 @@ layout: default-2022
title: Program - !!Con 2022
---

# Conference program
# Conference Program

<style type="text/css">
/* Timezone */
#timezone {
font-family: monospace;
}
ol {
font-size: 20px;
}
</style>

<!--
Jump directly to the [Saturday](#saturday) or [Sunday](#sunday) program!
This is a remote conference, so we've adjusted the schedule to try to be timezone friendly. All times are in Eastern Time.
-->
<!-- Extra nbsp to make it look good :) -->

---
Timezone: &nbsp;<span id="timezone">Pacific Daylight Time (GMT -7)</span>.

All times in 24h format.

## Schedule

<span id="cards-section"></span>

### Saturday, Nov 12

<div class="scheduletable">

| Time | Event
|-----------------|-------------------------------------------------------------------------
| <time datetime="12:00">12:00</time> | First Item
| <time datetime="13:00">13:00</time> | Second Item

<a name="saturday"></a>
</div>

### Saturday, November 12
### Sunday, Nov 13

Talks day! All talks will be streamed live on YouTube, exact schedule to be announced.
<div class="scheduletable">

<!-- TODO: use format from 2020 conference -->
| Time | Event
|-----------------|-------------------------------------------------------------------------
| <time datetime="12:00">12:00</time> | First Item
| <time datetime="13:00">13:00</time> | Second Item

<a name="sunday"></a>
### Sunday, November 13
</div>

Workshop day! We'll use Discord for the workshops, exact schedule to be announced.
<script>
// Get tz as a string, e.g. "Eastern Daylight Time".
const dateStr = new Date().toString();
const timezone = dateStr.substring(dateStr.indexOf('(') + 1, dateStr.length - 1);
document.getElementById('timezone').innerHTML = timezone + ' (detected)';

// Replace time elements with tz-adjusted hours.
Array.from(document.getElementsByTagName('time')).forEach(timeTag => {
const d = new Date(`May 1, 2020 ${timeTag.getAttribute('datetime')}:00 GMT-0700`);
const minutes = `${d.getMinutes()}`.padStart(2, '0');
timeTag.innerHTML = `${d.getHours()}:${minutes}`;
});
</script>