Bug Tracker RSS feed

ID 167🔗
Date: 2020-09-25 11:43:15
Status Closed (Fixed)
Category datetime2
Version v1.5.6
Summary spurious space in \DTMsaveddatediff

Return to Search Results

Sign in to subscribe to notifications about this report.

Description

There is an extra blank after the end of \ifcsundef{@dtm@#2@year} in the definition of \DTMsaveddatediff. It is caused by lack of a % in line 132 of the source code datetime2-calc.sty.

MWE

Download (224B)

\documentclass{article}
\usepackage[calc]{datetime2}
\newcount\datediff

\begin{document}
\DTMsavenow{today}
\DTMsavedate{recent}{2020-09-11}
ab

a\DTMsaveddatediff{today}{recent}{\datediff}% specious blank
b
\end{document}

Evaluation

Fixed in v1.5.7 (2021-03-21).

Comments

0 comments.


Add Comment

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account. All guest comments have to be manually checked before they appear on the page. There are too many bots trying to spam the site to allow unauthenticated users to post without verification.

Comment:


You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.

Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=167

Return to Search Results