Skip to content

Commit f35a297

Browse files
To1nedscho
authored andcommitted
script/update-docs: use ISO-8601 dates for history
The script script/update-git-version.rb already uses ISO-8601 dates, which are less confusing for most people. Update script/update-docs.rb to use ISO-8601 date format too. Signed-off-by: Toon Claes <[email protected]>
1 parent 635164a commit f35a297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/update-docs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def index_doc(filter_tags, doc_list, get_content)
322322
version_data["commit_sha"] = commit_sha
323323
version_data["tree_sha"] = tree_sha
324324
version_data["committed"] = ts
325-
version_data["date"] = ts.strftime("%m/%d/%y")
325+
version_data["date"] = ts.strftime("%Y-%m-%d")
326326

327327
ext = Version.version_to_num(version) < 2_490_000 ? 'txt' : 'adoc'
328328
tag_files = doc_list.call(tree_sha)

0 commit comments

Comments
 (0)