If undef is passed to the date format conversion function, it dies. This can happen when you have old data in the database. Better to handle it in some fashion rather than die, so now it just returns undef too. Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> I replace "return undef" with just "return" to pass perlcritic Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> |
||
|---|---|---|
| .. | ||
| Indexer | ||
| Template/Plugin | ||
| Calendar.pm | ||
| DateUtils.pm | ||