Skip to content

Commit

Permalink
date format fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 5, 2022
1 parent 5e1268a commit 9836f5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.lua
Expand Up @@ -28,6 +28,6 @@ uploadconfig = {
function update_tag(file, content, tagname, tagdate)
return string.gsub(
string.gsub(content, "0%.0%.0", tagname),
"00%.00%.0000", os.date("%d.%m.%Y")
"0000%-00%-00", os.date("%d.%m.%Y")
)
end
2 changes: 1 addition & 1 deletion yb-book.dtx
Expand Up @@ -50,7 +50,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}
%<class>\ProvidesClass{yb-book}
%<*class>
[00.00.0000 0.0.0 YB Branded Book Style]
[0000-00-000 0.0.0 YB Branded Book Style]
%</class>
%<*driver>
\documentclass{ltxdoc}
Expand Down
8 changes: 4 additions & 4 deletions yb-book.ins
Expand Up @@ -48,8 +48,8 @@ SOFTWARE.
\endpreamble
\generate{\file{yb-book.cls}{\from{yb-book.dtx}{class}}}
\obeyspaces
\Msg{*** To finish the installation you have to move the ".cls"}
\Msg{*** file into a directory searched by TeX. To produce the}
\Msg{*** documentation run the file ".dtx" through LaTeX. If any}
\Msg{*** questions, submit a new GitHub issue.}
\Msg{To finish the installation you have to move the ".cls"}
\Msg{file into a directory searched by TeX. To produce the}
\Msg{documentation run the file ".dtx" through LaTeX. If any}
\Msg{questions, submit a new GitHub issue.}
\endbatchfile

0 comments on commit 9836f5a

Please sign in to comment.