Bug Tracker 
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 | 82🔗 |
---|---|
Date: | 2015-04-08 09:16:56 |
Status | Closed (Fixed) |
Category | datetime2-english |
Version | 1.0 |
Summary | useregional=numeric causes errors |
Sign in to subscribe to notifications about this report.
Description
Hello,
I found a problem when using datetime2-english (at least with en-GB
and en_US
styles) with the useregional=numeric
option. In this case, the date is formatted as expected, but it produces error messages (! Package datetime2 Error: Unknown style `en-GB-regional'
) and warnings (Package datetime2 Warning: No date style `en-GB-regional' defined on input line[...]
).
A summary with minimal example can be found here: TeX.SX comment
MWE
Download (227B)
\documentclass{article} \usepackage[UKenglish]{babel} \usepackage[useregional=numeric]{datetime2} \DTMlangsetup[en-GB]{datesep={\space\&,\&\space}} \begin{document} \today\\ \DTMdisplaydate{2000}{01}{01}{} \end{document}
Evaluation
Fixed in v1.01 which I've just uploaded to CTAN. Please allow a few days for it to propagate through the mirrors. A temporary work around is to redefine \dateUKenglish
as follows:
\renewcommand\dateenglish{% \DTMifcaseregional {}% do nothing {\DTMsetstyle{en-GB}}% {\DTMsetstyle{en-GB-numeric}}% }%
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=82