From 08431346a611a2b519118d8bd89f67566a0e2e22 Mon Sep 17 00:00:00 2001 From: Diomede Date: Wed, 26 May 2021 18:55:24 +0200 Subject: [PATCH] fix markdown table --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5e61daf..2cd383a 100644 --- a/README.md +++ b/README.md @@ -71,12 +71,12 @@ The new `date` filter uses [date-fns](https://date-fns.org/) as library to handl There are also some special words that can be used with this filter: -| word | example | effect | -| ----------- | ---------------- | --------------------- | -| "now" | {{ "now" \ | date: "yyyy-MM-dd" }} | Use the date from `new Date` and formatted with the given format -| "today" | {{ "today" \ | date: "yyyy-MM-dd" }} | same as `now` -| "yesterday" | {{ "yesterday" \ | date: "yyyy-MM-dd" }} | use the [`subDays`](https://date-fns.org/v2.21.3/docs/subDays) function to subtract `1` from `Date.now()` and formatted with the given format -| "tomorrow" | {{ "tomorrow" \ | date: "yyyy-MM-dd" }} | use the [`addDays`](https://date-fns.org/v2.21.3/docs/addDays) function to add `1` to `Date.now()` and formatted with the given format +| word | example | effect | +| ----------- | ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| "now" | {{ "now" | date: "yyyy-MM-dd" }} | Use the date from `new Date` and formatted with the given format | +| "today" | {{ "today" | date: "yyyy-MM-dd" }} | same as `now` | +| "yesterday" | {{ "yesterday" | date: "yyyy-MM-dd" }} | use the [`subDays`](https://date-fns.org/v2.21.3/docs/subDays) function to subtract `1` from `Date.now()` and formatted with the given format | +| "tomorrow" | {{ "tomorrow" | date: "yyyy-MM-dd" }} | use the [`addDays`](https://date-fns.org/v2.21.3/docs/addDays) function to add `1` to `Date.now()` and formatted with the given format | #### Default format