Skip to content

Commit fc096c8

Browse files
committed
🚑️ fix meeting times, update to meet v1, normalize template
1 parent 51397da commit fc096c8

2 files changed

Lines changed: 31 additions & 19 deletions

File tree

.github/ISSUE_TEMPLATE/meeting.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
## Date/Time
2-
3-
| Timezone | Date/Time |
4-
|----------|-----------|
5-
<%= [
1+
<% const timezones = [
62
'America/Los_Angeles',
73
'America/Denver',
84
'America/Chicago',
@@ -14,12 +10,31 @@
1410
'Asia/Shanghai',
1511
'Asia/Tokyo',
1612
'Australia/Sydney'
17-
].map((zone) => {
18-
return `| ${zone} | ${date.setZone(zone).toFormat('EEE dd-MMM-yyyy HH:mm (hh:mm a)')} |`
13+
]; %>
14+
15+
## Date/Time
16+
17+
| Timezone | Date/Time |
18+
|----------|-----------|
19+
<%= timezones.map((zone) => {
20+
const zonedDate = date.toZonedDateTimeISO(zone)
21+
const formatter = new Intl.DateTimeFormat('en-US', {
22+
weekday: 'short',
23+
month: 'short',
24+
day: '2-digit',
25+
year: 'numeric',
26+
hour: '2-digit',
27+
minute: '2-digit',
28+
hour12: true,
29+
timeZone: zone
30+
})
31+
const formattedDate = formatter.format(new Date(zonedDate.epochMilliseconds))
32+
return `| ${zone} | ${formattedDate} |`
1933
}).join('\n') %>
2034

2135
Or in your local time:
22-
* https://www.timeanddate.com/worldclock/?iso=<%= date.toFormat("yyyy-MM-dd'T'HH:mm:ss") %>
36+
37+
* https://www.timeanddate.com/worldclock/?iso=<%= date.toZonedDateTimeISO('UTC').toPlainDateTime().toString() %>
2338

2439
## Agenda
2540

.github/workflows/meetings.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,29 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Technical Committee
20-
uses: 'pkgjs/meet@v0'
20+
uses: 'pkgjs/meet@v1'
2121
with:
22-
issueTitle: '<%= date.toFormat("yyyy-MM-dd") %> Express TC Meeting'
22+
issueTitle: '<%= date.toZonedDateTimeISO("UTC").toPlainDate().toString() %> Express TC Meeting'
2323
token: ${{ secrets.GITHUB_TOKEN }}
2424
orgs: expressjs,pillarjs,jshttp
2525
agendaLabel: 'tc agenda'
2626
meetingLabels: 'meeting'
27-
# https://github.com/expressjs/discussions/issues/195#issuecomment-1973732769
28-
# Starting on 2024-03-18 at 9pm UTC (2024-03-18T21:00:00.0Z) with a period of 2 weeks (P2W)
29-
schedules: '2024-03-18T19:00:00.0Z/P2W'
27+
# Monday 1 PM America/Chicago with a period of 2 weeks (P2W)
28+
schedules: '2025-08-04T13:00:00.0[America/Chicago]/P2W'
3029
createWithin: 'P1W'
3130
meetingLink: 'https://zoom-lfx.platform.linuxfoundation.org/meeting/95266714809?password=f37cff1b-cb3a-4a21-9425-210e4714c72e'
3231
issueTemplate: 'meeting.md'
3332

3433
- name: Working Session
35-
uses: 'pkgjs/meet@v0'
34+
uses: 'pkgjs/meet@v1'
3635
with:
37-
issueTitle: '<%= date.toFormat("yyyy-MM-dd") %> Express Working Session'
36+
issueTitle: '<%= date.toZonedDateTimeISO("UTC").toPlainDate().toString() %> Express Working Session'
3837
token: ${{ secrets.GITHUB_TOKEN }}
3938
orgs: expressjs,pillarjs,jshttp
4039
agendaLabel: 'top priority'
4140
meetingLabels: 'meeting'
42-
# Converting the second time slot to a "working session"
43-
# https://github.com/expressjs/discussions/issues/195#issuecomment-1973732769
44-
# Starting on 2024-03-27 at 9pm UTC (2024-03-27T21:00:00.0Z) with a period of 2 weeks (P2W)
45-
schedules: '2024-03-27T21:00:00.0Z/P2W'
41+
# Wednesday 1 PM America/Chicago with a period of 2 weeks (P2W)
42+
schedules: '2025-08-13T13:00:00.0[America/Chicago]/P2W'
4643
createWithin: 'P1W'
4744
meetingLink: 'https://zoom-lfx.platform.linuxfoundation.org/meeting/95258037175?password=07aad89d-ff43-45df-9b28-f437e167a0b9'
4845
issueTemplate: 'meeting.md'

0 commit comments

Comments
 (0)