repos / neovimcraft

website that makes it easy to find neovim plugins
git clone https://github.com/neurosnap/neovimcraft.git

commit
4d78fe0
parent
be5d613
author
Eric Bower
date
2021-07-24 04:07:08 +0000 UTC
off-by-1 error
1 files changed,  +1, -1
M src/routes/guides.svelte
+1, -1
1@@ -39,7 +39,7 @@
2 
3   const zero = (num: number) => (num < 10 ? `0${num}` : `${num}`);
4   const format = (date: Date) => {
5-    return `${date.getFullYear()}-${zero(date.getMonth())}-${zero(date.getDate())}`;
6+    return `${date.getFullYear()}-${zero(date.getMonth() + 1)}-${zero(date.getDate())}`;
7   };
8 
9   export let articles: Article[];