Skip to content
Snippets Groups Projects
Verified Commit bf6deb66 authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Remove sum by 1.

parent 8e684ebc
No related branches found
No related tags found
2 merge requests!69Possibility to insert a reservation and new docs.,!68Implement list by date.
......@@ -5,7 +5,5 @@
*/
export const formatDate = (date: Date): string =>
date !== null && date !== undefined
? `${date.getUTCFullYear()}-${date.getUTCMonth() + 1}-${
date.getUTCDate() + 1
}`
? `${date.getUTCFullYear()}-${date.getUTCMonth() + 1}-${date.getUTCDate()}`
: '';
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment