Wikimedia España
/
inscripciones
/
inscribirse
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8ef482
)
Resulta excepcional que esté establecido el parámetro "formato fecha"
author
Platonides
<platonides@gmail.com>
Mon, 21 May 2018 23:30:44 +0000
(
01:30
+0200)
committer
Platonides
<platonides@gmail.com>
Mon, 21 May 2018 23:30:44 +0000
(
01:30
+0200)
html/wiki.php
patch
|
blob
|
blame
|
history
diff --git
a/html/wiki.php
b/html/wiki.php
index 796c7c583f9457094c21503bbc78c82b7a76f926..6a09dfc64b941e997526a4f2030e94d502de1838 100644
(file)
--- a/
html/wiki.php
+++ b/
html/wiki.php
@@
-17,7
+17,7
@@
function parsecfg ($F) { # Se admiten matrices numéricas
function fecha ($F, $DI, $Extras = array ("Año")) {
$T = ($F > 946684800 ? $F : strtotime (chop ($F, "Z"))); # Convertir a timestamp si no lo es (comparamos con el timestamp de 2000-01-01 00:00 UTC)
- if ($DI["formato fecha"] == "ISO") {
+ if (
isset($DI["formato fecha"]) &&
$DI["formato fecha"] == "ISO") {
$R = date ("Y-m-d", $T);
if (in_array ("Hora", $Extras)) $R .= date (", H:i", $T);
} else {