fix: change date language to french
This commit is contained in:
+10
-2
@@ -35,7 +35,11 @@ setSecurityHeaders();
|
||||
|
||||
<!-- Open Graph Meta Tags -->
|
||||
<meta property="og:title" content="kaubuntu.re - Ouverture prochaine">
|
||||
<meta property="og:description" content="La plateforme multimédia kaubuntu.re ouvrira ses portes le <?php $targetDate = new DateTime(COUNTDOWN_TARGET_DATE); echo $targetDate->format('j F Y'); ?>. Restez connectés !">
|
||||
<meta property="og:description" content="La plateforme multimédia kaubuntu.re ouvrira ses portes le <?php
|
||||
$targetDate = new DateTime(COUNTDOWN_TARGET_DATE);
|
||||
setlocale(LC_TIME, 'fr_FR.UTF-8');
|
||||
echo strftime('%e %B %Y', $targetDate->getTimestamp());
|
||||
?>. Restez connectés !">
|
||||
<meta property="og:image" content="<?php echo 'https://' . $_SERVER['HTTP_HOST'] . '/img/logo.png'; ?>">
|
||||
<meta property="og:url" content="<?php echo 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>">
|
||||
<meta property="og:type" content="website">
|
||||
@@ -45,7 +49,11 @@ setSecurityHeaders();
|
||||
<!-- Twitter Card Meta Tags -->
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="kaubuntu.re - Ouverture prochaine">
|
||||
<meta name="twitter:description" content="La plateforme multimédia kaubuntu.re ouvrira ses portes le <?php $targetDate = new DateTime(COUNTDOWN_TARGET_DATE); echo $targetDate->format('j F Y'); ?>. Restez connectés !">
|
||||
<meta name="twitter:description" content="La plateforme multimédia kaubuntu.re ouvrira ses portes le <?php
|
||||
$targetDate = new DateTime(COUNTDOWN_TARGET_DATE);
|
||||
setlocale(LC_TIME, 'fr_FR.UTF-8');
|
||||
echo strftime('%e %B %Y', $targetDate->getTimestamp());
|
||||
?>. Restez connectés !">
|
||||
<meta name="twitter:image" content="<?php echo 'https://' . $_SERVER['HTTP_HOST'] . '/img/logo.png'; ?>">
|
||||
|
||||
<!-- Configuration JavaScript -->
|
||||
|
||||
Reference in New Issue
Block a user