Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for a translation date format #28

Open
taringamberini opened this issue Feb 25, 2016 · 0 comments
Open

Request for a translation date format #28

taringamberini opened this issue Feb 25, 2016 · 0 comments

Comments

@taringamberini
Copy link

It would very useful if existed a translation date format, like the date format, for post which would contain a translation_date attribute in the taml front matter:


---
layout: post
lang: it
title: foo bar
date: 2016-01-20 18:22:50 +0100
translation_id: 6786ddcf2a3a23f4c92021f56b139529
translator_name: Name Surname
translator_url: http://www.namesurname.com
translation_date: 2016-02-25 19:10:50 +0100

---

We could use it as:

{% if post.translation_date %}Translated: {{ post.translation_date_time_html }}{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant