Adds time functions the Twig templating engine.