From 39ad691fcd216f323ba618add06f29f34a59626c Mon Sep 17 00:00:00 2001 From: Andre von Houck Date: Tue, 3 Oct 2023 13:47:43 +0000 Subject: [PATCH] Fix readme. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 51b174c..94d11f2 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ var ts = parseTs( ## Format Timestamps ```Nim -echo formatTs( +echo format( ts, "{year/4}-{month/2}-{day/2}T{hour/2}:{minute/2}:{second/2}Z", ) @@ -75,7 +75,7 @@ cal.toEndOf(Month) ## Use Timezones ```Nim -echo formatTs( +echo format( ts, "{year/4}-{month/2}-{day/2}T{hour/2}:{minute/2}:{second/2}Z", tzName = "America/Los_Angeles"