Smile for the Camera: a new cybercrime short story ebook.

Bug Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

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

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.

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