initial commit

This commit is contained in:
Matthieu Bessat 2021-08-08 19:23:49 +02:00
commit b65642cd0a
18 changed files with 1543 additions and 0 deletions

10
modules/date/date.php Normal file
View file

@ -0,0 +1,10 @@
<?php
$format = $_GET['format'] ?? 'full';
date_default_timezone_set($_GET['timezone'] ?? 'UTC');
echo date(match ($format) {
'full' => 'Y-m-d H:i:s',
'unix' => 'U'
});

1073
modules/date/date_help.php Normal file

File diff suppressed because it is too large Load diff