Changed to dates only

This commit is contained in:
Sammy Shear 2024-06-30 17:46:50 -04:00
parent d2dc056509
commit fbf31e7216
Signed by: sammyshear
GPG Key ID: 54DBDB0E658FB9F7
6 changed files with 34 additions and 32 deletions

View File

@ -14,7 +14,9 @@ const { Content } = await post.render();
<header class="flex flex-col space-between-10 border-b-ctp-text border-b">
<h1 class="text-2xl">{post.data.title}</h1>
<h4 class="text-lg text-ctp-subtext0">{post.data.author}</h4>
<h4 class="text-lg text-ctp-subtext0">{post.data.publishedTime}</h4>
<h4 class="text-lg text-ctp-subtext0">
{post.data.publishedTime.toLocaleDateString()}
</h4>
</header>
<main class="mt-5">
<Prose>

View File

@ -19,7 +19,7 @@ export default function Posts({ posts }: Props) {
{post.data.author}
</span>
<span className="text-sm text-ctp-subtext0">
{post.data.publishedTime.toLocaleString()}
{post.data.publishedTime.toLocaleDateString()}
</span>
</a>
);

View File

@ -1,6 +1,6 @@
---
title: Building the Same App 5 Times
publishedTime: 2021-08-18T00:02:25.286Z
publishedTime: 2021-08-18
---
### Originally Published on Dev.To

View File

@ -1,6 +1,6 @@
---
title: I Followed a 40 year old Pascal Book (in Rust)
publishedTime: 2024-01-05T19:09:05.026Z
publishedTime: 2024-01-05
---
My father is a big fan of mystery novels, certainly more than I am. I enjoy a Sherlock Holmes story now and again, and I have had fun reading Agatha Christie novels, but he is and always will be a bigger fan of the genre than I. That being said, there is one mystery book I find much more interesting to me than he ever has, and that is "Elementary Pascal" by Henry Ledgard and Andrew Singer. My father will happily tell you the furthest he got in computer programming was making a 3D Cube in Basic and reading the programs for his Commodore 64 in a magazine, but almost never running them as he would have had to copy them each by hand. I, on the other hand, have much more of an interest in programming, as might be evident from the fact I am writing this blog post where I do so. When I was first learning to program as a kid, my father gave me this book that he'd had since he was a kid. He claimed to have hardly read it, but that I might be interested in it, and compared to him I certainly was. That said, I only ever read a few of the examples, as I had very little actual interest in learning Pascal. In more recent years, the book has sat on my shelf, undisturbed, waiting to once again be opened. Today was that day.

View File

@ -1,6 +1,6 @@
---
title: Writing My Own Language Server in Go (to Parse Chess PGNs)
publishedTime: 2024-06-26T19:16:00.006Z
publishedTime: 2024-06-26
---
### What is a Language Server?