[latex3-commits] [git/LaTeX3-latex3-l3build] master: Switch to ISO date format (5039931)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Mar 6 16:32:03 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/5039931a66770a3ace556acc6d4067a5105d44b4

>---------------------------------------------------------------

commit 5039931a66770a3ace556acc6d4067a5105d44b4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Mar 6 15:31:17 2018 +0000

    Switch to ISO date format


>---------------------------------------------------------------

5039931a66770a3ace556acc6d4067a5105d44b4
 README.md   |    2 +-
 build.lua   |    6 +++---
 l3build.dtx |    2 +-
 l3build.lua |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index e473004..afcfbc2 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 l3build: a testing and building system for LaTeX3
 =================================================
 
-Release 2018/02/20
+Release 2018-03-06
 
 Overview
 --------
diff --git a/build.lua b/build.lua
index a10159f..0339a43 100644
--- a/build.lua
+++ b/build.lua
@@ -22,15 +22,15 @@ tagfiles     = {"l3build.dtx", "*.md", "l3build.lua"}
 function update_tag(file,content,tagname,tagdate)
   if string.match(file, "%.dtx$") then
     return string.gsub(content,
-      "\n%% \\date{Released %d%d%d%d/%d%d/%d%d}\n",
+      "\n%% \\date{Released %d%d%d%d%-%d%d%-%d%d}\n",
       "\n%% \\date{Released " .. tagname .. "}\n")
   elseif string.match(file, "%.md$") then
     return string.gsub(content,
-      "\nRelease %d%d%d%d/%d%d/%d%d\n",
+      "\nRelease %d%d%d%d%-%d%d%-%d%d\n",
       "\nRelease " .. tagname .. "\n")
   elseif string.match(file, "%.lua$") then
     return string.gsub(content,
-      '\nrelease_date = "%d%d%d%d/%d%d/%d%d"\n',
+      '\nrelease_date = "%d%d%d%d%-%d%d%-%d%d"\n',
       '\nrelease_date = "' .. tagname .. '"\n')
   end
   return contents
diff --git a/l3build.dtx b/l3build.dtx
index 1d266f3..5e35082 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -216,7 +216,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2018/02/20}
+% \date{Released 2018-03-06}
 %
 % \maketitle
 % \tableofcontents
diff --git a/l3build.lua b/l3build.lua
index db34db2..8b9e6ef 100644
--- a/l3build.lua
+++ b/l3build.lua
@@ -23,7 +23,7 @@ for those people who are interested.
 --]]
 
 -- Version information
-release_date = "2018/02/20"
+release_date = "2018-03-06"
 
 -- File operations are aided by the LuaFileSystem module
 local lfs = require("lfs")





More information about the latex3-commits mailing list