Latest news 2024-10-15: New blog post: Tales for Our Times Book Launch.

Feature 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 19🔗
Date: 2013-11-30 12:37:38
Status Closed (Can not Implement)
Category datetime
Summary Package dayofweek should be a boolean option

Sign in to subscribe to notifications about this report.

Description

This is only a suggestion for a minor improvement. If many 'datetime' package options are loaded, the user may accidentally load both 'dayofweek' and 'nodayofweek'. In that case, no matter in what order those two options are loaded, 'nodayofweek' will prevail. Since those two options are meant to be incompatible, defining 'dayofweek' as a boolean option would make more sense. In other words, options 'dayofweek' and 'nodayofweek' should become 'dayofweek=true' and 'dayofweek=false', respectively.

Julien Cretel

MWE

No mwe.tex

Evaluation

I can't make any changes that may cause backward compatibility problems, but I'll have a look at a way of addressing this issue as I think this classifies as a bug. (The main backward compatibility problem is caused by the fact that key=value package options aren't also available as class options. Some users may be passing "dayofweek" as a class option and this would fail if it became a boolean option.)

Update 2015-03-25: datetime.sty is now obsolete and has been replaced by datetime2.sty which now has a boolean option "showdow" to show/hide the day of week.

Comments

0 comments.


Add Comment

Name (optional):

Are you human? Please confirm the feature request 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/featuretracker.php?key=19