Merge branch 'master' into with_travaux
This commit is contained in:
2 files changed
+25
-16
No files matched your search
+11
-4
@@ -1,6 +1,13 @@
|
||||
<?php
|
||||
date_default_timezone_set('Europe/Paris');
|
||||
$mtime = date("d M Y H:i:s", filemtime($this_file));
|
||||
setlocale(LC_TIME, 'fr_FR.utf8','fra');
|
||||
$last_rev = exec('git log -1 --pretty=format:"%H" '.$this_file);
|
||||
$mtime = exec('LANG="fr_FR.UTF-8" git log -1 --pretty="format:%ct" '.$this_file);
|
||||
$fmt = datefmt_create(
|
||||
'fr-FR',
|
||||
IntlDateFormatter::FULL,
|
||||
IntlDateFormatter::FULL,
|
||||
'Europe/Paris',
|
||||
IntlDateFormatter::GREGORIAN,
|
||||
'd MMMM Y à HH:mm:ss O'
|
||||
);
|
||||
?>
|
||||
<p style="text-align:right;">Mis à jour le <?php echo strftime("%d %B %Y à %H:%M:%S UTC%z", strtotime($mtime)); ?></p>
|
||||
<p style="text-align:right;">Mis à jour le <a href="https://git.gnous.fr/gnous/main_website/commit/<?php echo $last_rev;?>" target="_blank"><?php echo datefmt_format($fmt, $mtime); ?></a></p>
|
||||
Reference in new issue
Block a user