Skip to content

datetime2 \DTMsavedate used incorrectly #21

@cebamps

Description

@cebamps

I have to take the blame for this bug. In issue #15, I noted that the datetime package was obsoleted by datetime2 and suggested a way to implement support of datetime2 based on the existing support of datetime.

I just found out that the fix I proposed was incomplete. While it works fine when the Author Date git metadata is set, when it is not, the use of \DTMsavedate is incorrect. The placeholders \THEDAY, \THEMONTH and \THEYEAR have been removed in datetime2. I believe line 203 should now be replaced by

\DTMsavenow{gitdate}

I apologize for my misleading attempt at a solution in issue #15.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions