Latest news 2021-06-05: New blog post: Dickimaw Books Site Account.

Bug Tracker

ID 22🔗
Date: 2013-03-19 08:17:14
Status Closed (Fixed)
Category datetime
Version 2.58
Summary Spurious spaces with some babel languages

Sign in to subscribe to notifications about this report.

Description

While "UKenglish" or "british" are current babel language, displayed dates contain spurious spaces.

Moreover, only short dates are displayed with american, canadian, australian, newzealand babel languages, regardless the default "long" datetime option

MWE

Download (476B)

\listfiles{}

\documentclass[UKenglish,english,USenglish,american,canadian,australian,newzealand,british]{article}
\usepackage{babel}
\usepackage{datetime}
\newcommand{\displayeddate}[1]{%
  \selectlanguage{#1}
  \today: today in #1.\par
}
\begin{document}
\displayeddate{british}
\displayeddate{UKenglish}
\displayeddate{english}
\displayeddate{USenglish}
\displayeddate{american}
\displayeddate{canadian}
\displayeddate{australian}
\displayeddate{newzealand}
\end{document}

Evaluation

The short dates issue should now be fixed in datetime v2.59. The spurious spaces seem to stem from \ordinalnum which is defined by the fmtcount package. So that seems to be a bug in fmtcount rather than datetime.

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=22