You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I can confirm that using datetime2 causes LaTeX to fail complaining about line 203. I haven't tried cedb12's fix though. It would be great if this could be fixed RSN (really soon now) and an update pushed to TeX Live. I need to use both packages.
I second this! Making the fix suggested by cedb12 seems to work. The issue is quite annoying, since it causes multiple errors when compiling the LaTeX code without having a a gitHeadInfo.gin or gitHeadLocal.gin file available. Applying the fix proposed by cedb12 fixes the issue, but manually fixing it is not very portable.
If you would be able to make a new release, that would be great! Thanks!
I have to take the blame for this bug. In issue #15, I noted that the
datetime
package was obsoleted bydatetime2
and suggested a way to implement support ofdatetime2
based on the existing support ofdatetime
.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 indatetime2
. I believe line 203 should now be replaced by\DTMsavenow{gitdate}
I apologize for my misleading attempt at a solution in issue #15.
The text was updated successfully, but these errors were encountered: