aboutsummaryrefslogtreecommitdiff
path: root/resumejson_converter/utils/templates.py
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-03 17:26:08 +0200
committerneodarz <neodarz@neodarz.net>2019-08-03 17:26:08 +0200
commitca4560242b5e8557a1cd40a882adc2bacbcbd20c (patch)
tree5c29f43323e1945c4f2a1704e8e826be62551df1 /resumejson_converter/utils/templates.py
parent46f2126c12abb69971b586be4e1548f37d50386a (diff)
downloadresumejson_converter-ca4560242b5e8557a1cd40a882adc2bacbcbd20c.tar.xz
resumejson_converter-ca4560242b5e8557a1cd40a882adc2bacbcbd20c.zip
Add more documentation
Diffstat (limited to 'resumejson_converter/utils/templates.py')
-rw-r--r--resumejson_converter/utils/templates.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/resumejson_converter/utils/templates.py b/resumejson_converter/utils/templates.py
index b22b4b2..a034103 100644
--- a/resumejson_converter/utils/templates.py
+++ b/resumejson_converter/utils/templates.py
@@ -2,7 +2,10 @@
def td_format(td_object):
"""
- based on https://stackoverflow.com/a/13756038
+ Return time in `An, Mois, Semaine, Jour, Heure, Minute, Seconde` format.
+ Only in french.
+
+ Based on https://stackoverflow.com/a/13756038
"""
seconds = int(td_object.total_seconds())
periods = [