mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-24 16:56:14 -04:00
feat(new tool): camera screenshot and recorder
This commit is contained in:
parent
8515c24264
commit
34d8e5ce2c
15 changed files with 448 additions and 10 deletions
7
src/modules/shared/date.models.ts
Normal file
7
src/modules/shared/date.models.ts
Normal 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');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue