Latest news 2021-09-06: new blog post "Legacy Documents and TeX Live Docker Images".

Bug Tracker

ID 59🔗
Date: 2014-05-04 15:05:35
Status Closed (Not a Bug)
Category datetime
Version 2.59
Summary Spurious comma in French long and short dates

Sign in to subscribe to notifications about this report.

Description

With `french` option of the `babel`'s package, there is a spurious comma in long and short dates, as pointed out by the joined MWE.

MWE

Download (304B)

\listfiles

\documentclass[french]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{datetime}
\begin{document}
\begin{description}
\item[Correct:] \today
\item[Not correct:] \shortdate\today
\item[Not correct:] \longdate\today
\end{description}
\end{document}

Evaluation

This is a documented feature of the \longdate and \shortdate commands. The datetime package was originally designed to replace the ukdate package and the original declarations \longdate, \shortdate and \textdate were all hard-coded for British English. Later, datetime was made compatible with babel, but only to the extent of preventing babel's \date<language> commands from overwriting datetime's definition of \today. The replacement datetime2.sty is being designed as a language/region-aware package and the language modules should provide abbreviations for the given region as appropriate.

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