Bug Tracker RSS feed

ID 94🔗
Date: 2015-09-02 14:23:09
Status Open
Sign in if you want to bump this report.
Category datetime2-english
Version 1.01
Summary \DTMdisplaytime{12}{30}{0} and \DTMdisplaytime{0}{30}{0} both interpreted as AM by 'englishampm' style
OS Debian

Return to Search Results

Sign in to subscribe to notifications about this report.

Description

I know there is disagreement about whether midnight and noon are AM or PM, respectively.

However, it seems inconsistent that the attached MWE interprets both

  \DTMdisplaytime{12}{30}{0}
and
  \DTMdisplaytime{0}{30}{0}
as AM. Interestingly,
  \DTMdisplaytime{24}{30}{0}
is interpreted as PM.

MWE

Download (252B)

\documentclass[british]{article}

\usepackage[useregional=text,showdow,datesep=/]{datetime2}

\begin{document}

\DTMsettimestyle{englishampm}
\noindent\DTMdisplaytime{12}{30}{0}\\
\DTMdisplaytime{00}{30}{0}\\
\DTMdisplaytime{24}{30}{0}

\end{document}

Evaluation

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

Return to Search Results