diff --git a/src/components/FormattedDate.astro b/src/components/FormattedDate.astro index cdc02dac2..0458459da 100644 --- a/src/components/FormattedDate.astro +++ b/src/components/FormattedDate.astro @@ -17,7 +17,6 @@ const formatSingle = (d: Date) => minute: '2-digit', hour12: true, timeZone: 'America/New_York', - timeZoneName: 'short', }); const formatDateOnly = (d: Date) => @@ -28,13 +27,36 @@ const formatDateOnly = (d: Date) => timeZone: 'America/New_York', }); -const isMultiDay = endDate && new Date(endDate).toDateString() !== startDate.toDateString(); +const endDateObj = endDate ? new Date(endDate) : undefined; +const isMultiDay = endDateObj && endDateObj.toDateString() !== startDate.toDateString(); +const isSameDayWithEnd = endDateObj && !isMultiDay; + +const formatTimeOnly = (d: Date) => + d.toLocaleTimeString('en-us', { + hour: 'numeric', + minute: '2-digit', + hour12: true, + timeZone: 'America/New_York', + }); + +const getTimeZoneAbbr = (d: Date) => + d + .toLocaleTimeString('en-us', { + timeZone: 'America/New_York', + timeZoneName: 'short', + }) + .split(' ') + .at(-1); --- { isMultiDay ? ( + ) : isSameDayWithEnd ? ( + ) : ( diff --git a/src/content/meetups/20260604_event.md b/src/content/meetups/20260604_event.md new file mode 100644 index 000000000..8947b05f9 --- /dev/null +++ b/src/content/meetups/20260604_event.md @@ -0,0 +1,20 @@ +--- +title: 'Boston Women in Bioinformatics Networking Session at Festival of Genomics' +dateTime: '2026-06-04T11:30-04:00' +endDate: '2026-06-04T13:00-04:00' +image: + src: '/photos/2025/genomicsFestival.jpg' + alt: 'Festival of Genomics Logo' +location: ['Genome Dome - Boston Convention and Exhibition Center (BCEC), Boston, MA'] +url: 'https://festivalofgenomics.com/boston/tickets?utm_source=bwib&utm_medium=website&utm_campaign=fog_boston_2026' +imgpos: 'object-contain' +tags: ['networking', 'festivalofgenomics'] +partnerEvent: false +partnerOrganization: 'Frontline Genomics' +--- + +Boston Women in Bioinformatics is returning to the Genome Dome (yes, the inflatable igloo) at the Festival of Genomics with a structured speed networking event. Join us Thursday, June 4 from 11:30 AM to 1:00 PM for fast-paced, one-on-one conversations with women working across bioinformatics, research, and industry. + +Walk away with one memorable detail about every person you meet. **Not just a LinkedIn connection, but a real reason to follow up.** The goal isn't a bigger network. It's a better one: peer support, shared commiseration, and the occasional "I know exactly who you should talk to." + +_Pro tip: bring something to write with. One memorable detail per person goes a long way and you are going to want to write it down!_