Skip to content

Commit 8bd431c

Browse files
authored
Merge pull request #39 from IvanM9/add-event
add first path to impact event
2 parents f5ccf94 + 28e7cc3 commit 8bd431c

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

public/path_to_impact_1.jpeg

88.7 KB
Loading

src/assets/events.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
[
2+
{
3+
"id": "path-to-impact-1",
4+
"title": "Path to Impact: Agustina Scandogliero",
5+
"description": "Estrategias para impulsar tu carrera en IT",
6+
"link": "https://ecuadorintech.org/events",
7+
"date": "2025-01-17",
8+
"place": "Online",
9+
"modality": "Virtual",
10+
"hostedBy": "Ecuador In Tech",
11+
"image": "/path_to_impact_1.jpeg",
12+
"attendees": 31
13+
},
214
{
315
"id": "git-github-workshop",
416
"title": "Git & GitHub",

src/components/CardEvent.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ const eventHeaderProps = { title, image, modality, description };
3535
</svg>
3636
<span>
3737
{
38-
new Date(date).toLocaleDateString("en-US", {
38+
new Date(date).toLocaleDateString("es", {
3939
weekday: "long",
4040
year: "numeric",
4141
month: "long",
4242
day: "numeric",
43+
timeZone: 'ECT'
4344
})
4445
}
4546
</span>

0 commit comments

Comments
 (0)