Skip to content

Commit 40e6ab3

Browse files
committed
Cleanup date formatting on events
1 parent 2788909 commit 40e6ab3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

_includes/home-news-bar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ <h3>What's New
3535
<h4>{{ post.title }}</h4>
3636
</div>
3737
{% if post.human_date and post.human_date != '' %}
38-
<div class="card-text">{{ post.human_date | date_to_string }}</div>
38+
<div class="card-text">{{ post.human_date }}</div>
3939
{% else %}
40-
<div class="card-text">{{ post.date | date_to_string }}</div>
40+
<div class="card-text">{{ post.date | date: "%B %-d, %Y" }}</div>
4141
{% endif %}
4242
<a class="btn btn-primary" href="{% if post.source_url and post.source_url != '' %}{{ post.source_url }}{% else %}{{ post.url | relative_url }}{% endif %}">
4343

_layouts/event.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1>{{ page.title }}
2626
<div class="metadata">
2727
<div class="date">
2828
{% if page.human_date and page.human_date != '' %}
29-
{{ page.human_date }}
29+
🗓️ {{ page.human_date }}
3030
{% endif %}
3131
{% if page.human_time and page.human_time != '' %}
3232
| {{ page.human_time }}

_posts/2025-09-12-graphics-programming-conference-2025.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags: [slang]
88
event_type: ""
99
author: ""
1010
image: "/images/events/2025-11-18-slang-graphics-programming-conference-2025.webp"
11-
human_date: "🗓️ November 18-20, 2025"
11+
human_date: "November 18-20, 2025"
1212
event_button_label: "Learn More"
1313
---
1414

0 commit comments

Comments
 (0)