Skip to content

Instantly share code, notes, and snippets.

@theodesp
Created December 7, 2019 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theodesp/4a7a9d65d273304be0811a61a16841ec to your computer and use it in GitHub Desktop.
Save theodesp/4a7a9d65d273304be0811a61a16841ec to your computer and use it in GitHub Desktop.
{% extends 'base.html.twig' %}
{% block body %}
<p>{{ date|localizeddate('medium', 'none') }}</p>
<p>{{ number|localizednumber }}</p>
<p>{{ price|localizedcurrency('EUR') }}</p>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment