feat(new tool): camera screenshot and recorder

This commit is contained in:
Corentin Thomasset 2023-05-16 23:12:37 +02:00
parent 8515c24264
commit 34d8e5ce2c
No known key found for this signature in database
GPG key ID: DBD997E935996158
15 changed files with 448 additions and 10 deletions

View file

@ -0,0 +1,7 @@
import { format } from 'date-fns';
export { getUrlFriendlyDateTime };
function getUrlFriendlyDateTime({ date = new Date() }: { date?: Date } = {}) {
return format(date, 'yyyy-MM-dd-HH-mm-ss');
}