Skip to content

Commit

Permalink
UTC date in tag target
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaurens committed Jun 26, 2024
1 parent dc4ebc6 commit b9bf710
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.

## [Unreleased]

### Changed
- Default date in `tag` target is now in UTC

### Fixed
- Global `typesetopts` no longer ignored for `luatex` and `lualatex` (issue \#351)

Expand Down
2 changes: 1 addition & 1 deletion l3build-tagging.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ local function update_file_tag(file,tagname,tagdate)
end

function tag(tagnames)
local tagdate = options["date"] or os_date("%Y-%m-%d")
local tagdate = options["date"] or os_date("!%Y-%m-%d")
local tagname = nil
if tagnames then
tagname = tagnames[1]
Expand Down
2 changes: 1 addition & 1 deletion l3build.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@
% specified by |tagfiles|; this function updates the `release tag' (or package version)
% and date.
% The tag is given as the optional command line argument \meta{tag name} and the date using
% |--date| (or |-d|). If not given, the date will default to the current date in
% |--date| (or |-d|). If not given, the date will default to the current UTC date in
% ISO format (YYYY-MM-DD). If no \meta{tag name} is given, the tag will default to |nil|.
% Both are passed as arguments to the |update_tag()| function.
%
Expand Down

0 comments on commit b9bf710

Please sign in to comment.