Modulo:Fumetto e animazione/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m +
m fix
Riga 130:
-- Cerca il nome o l'alias del medium nella configurazione
function Media:_getValue(key_tipo, key_sottotipo)
ifreturn cfg[key_sottotipo][self.tipo] thenand
return cfg[key_sottotipo][self.tipo][self.sottotipo] or
return cfg[key_tipo][self.tipo]
else
return cfg[key_tipo][self.tipo]
end
end
 
Riga 371 ⟶ 369:
local start_date = self.args['data inizio'] or ''
local end_date = self.args['data fine'] or ''
local year = (start_date .. ' ' .. end_date):match('%d%d%d%d')
if year then
return year