Issue #1963476: Convert datetime module to Twig.