Skip to content

Commit

Permalink
Merge pull request #6935 from cgrail/better_duplicate_detection
Browse files Browse the repository at this point in the history
better duplicate detection
  • Loading branch information
cgrail authored Jun 24, 2024
2 parents 9c39d53 + 672b1f3 commit 31283ed
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
5 changes: 3 additions & 2 deletions conferences/2018/javascript.json
Original file line number Diff line number Diff line change
Expand Up @@ -1180,11 +1180,12 @@
},
{
"name": "Web Unleashed",
"url": "http://fitc.ca/event/webu18",
"url": "http://fitc.ca/event/webu18/",
"startDate": "2018-10-01",
"endDate": "2018-10-02",
"city": "Toronto",
"country": "Canada"
"country": "Canada",
"twitter": "@fitc"
},
{
"name": "Framework Summit",
Expand Down
4 changes: 2 additions & 2 deletions conferences/2019/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
{
"name": "Smashing Conference",
"url": "https://smashingconf.com/toronto-2019/",
"url": "https://smashingconf.com/toronto-2019",
"startDate": "2019-06-25",
"endDate": "2019-06-26",
"city": "Toronto",
Expand All @@ -81,7 +81,7 @@
},
{
"name": "Smashing Conference",
"url": "https://smashingconf.com/freiburg-2019/",
"url": "https://smashingconf.com/freiburg-2019",
"startDate": "2019-09-09",
"endDate": "2019-09-10",
"city": "Freiburg",
Expand Down
8 changes: 4 additions & 4 deletions conferences/2019/javascript.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@
"twitter": "@jsfestua"
},
{
"name": "JAMstack_conf_nyc",
"url": "https://jamstackconf.com/nyc/",
"name": "JAMstack_conf NYC",
"url": "https://jamstackconf.com/nyc",
"startDate": "2019-04-09",
"endDate": "2019-04-10",
"city": "New York, NY",
Expand Down Expand Up @@ -831,7 +831,7 @@
},
{
"name": "Smashing Conference",
"url": "https://smashingconf.com/toronto-2019/",
"url": "https://smashingconf.com/toronto-2019",
"startDate": "2019-06-25",
"endDate": "2019-06-26",
"city": "Toronto",
Expand Down Expand Up @@ -1202,7 +1202,7 @@
},
{
"name": "Smashing Conference",
"url": "https://smashingconf.com/freiburg-2019/",
"url": "https://smashingconf.com/freiburg-2019",
"startDate": "2019-09-09",
"endDate": "2019-09-10",
"city": "Freiburg",
Expand Down
2 changes: 1 addition & 1 deletion conferences/2024/networking.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
},
{
"name": "EU-Startups Summit",
"url": "https://www.eu-startups.com/eu-startups-summit-2024/",
"url": "https://www.eu-startups.com/eu-startups-summit-2024",
"startDate": "2024-05-09",
"endDate": "2024-05-10",
"city": "Valletta",
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils/mergedConferencesReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function mergedConferencesReader() {
for (const conference of conferences) {
const url = new URL(conference.url);
const baseUrl = url.origin + url.pathname;
const simpleUrl = baseUrl.replace('www.', '').replace('https://', '').replace('http://', '');
const simpleUrl = baseUrl.replace('www.', '').replace('https://', '').replace('http://', '').replace(/\/$/, '');
const key = `${simpleUrl}-${conference.city}-${conference.startDate.slice(0, 7)}`;
if (!confsOfYear[key]) {
conference.stacks = [];
Expand Down

0 comments on commit 31283ed

Please sign in to comment.