{"action":"created","issue":{"url":"https://api.github.com/repos/plk/biblatex/issues/473","repository_url":"https://api.github.com/repos/plk/biblatex","labels_url":"https://api.github.com/repos/plk/biblatex/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/plk/biblatex/issues/473/comments","events_url":"https://api.github.com/repos/plk/biblatex/issues/473/events","html_url":"https://github.com/plk/biblatex/issues/473","id":176354856,"number":473,"title":"New date features documentation","user":{"login":"jspitz","id":4538783,"avatar_url":"https://avatars.githubusercontent.com/u/4538783?v=3","gravatar_id":"","url":"https://api.github.com/users/jspitz","html_url":"https://github.com/jspitz","followers_url":"https://api.github.com/users/jspitz/followers","following_url":"https://api.github.com/users/jspitz/following{/other_user}","gists_url":"https://api.github.com/users/jspitz/gists{/gist_id}","starred_url":"https://api.github.com/users/jspitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspitz/subscriptions","organizations_url":"https://api.github.com/users/jspitz/orgs","repos_url":"https://api.github.com/users/jspitz/repos","events_url":"https://api.github.com/users/jspitz/events{/privacy}","received_events_url":"https://api.github.com/users/jspitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"plk","id":1220851,"avatar_url":"https://avatars.githubusercontent.com/u/1220851?v=3","gravatar_id":"","url":"https://api.github.com/users/plk","html_url":"https://github.com/plk","followers_url":"https://api.github.com/users/plk/followers","following_url":"https://api.github.com/users/plk/following{/other_user}","gists_url":"https://api.github.com/users/plk/gists{/gist_id}","starred_url":"https://api.github.com/users/plk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plk/subscriptions","organizations_url":"https://api.github.com/users/plk/orgs","repos_url":"https://api.github.com/users/plk/repos","events_url":"https://api.github.com/users/plk/events{/privacy}","received_events_url":"https://api.github.com/users/plk/received_events","type":"User","site_admin":false},"assignees":[{"login":"plk","id":1220851,"avatar_url":"https://avatars.githubusercontent.com/u/1220851?v=3","gravatar_id":"","url":"https://api.github.com/users/plk","html_url":"https://github.com/plk","followers_url":"https://api.github.com/users/plk/followers","following_url":"https://api.github.com/users/plk/following{/other_user}","gists_url":"https://api.github.com/users/plk/gists{/gist_id}","starred_url":"https://api.github.com/users/plk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plk/subscriptions","organizations_url":"https://api.github.com/users/plk/orgs","repos_url":"https://api.github.com/users/plk/repos","events_url":"https://api.github.com/users/plk/events{/privacy}","received_events_url":"https://api.github.com/users/plk/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-09-12T11:40:20Z","updated_at":"2016-09-14T17:29:21Z","closed_at":null,"body":"I have had some problems when implementing the (cool!) new date features, and I think it is a mixture of documentation glitches and (probably) unimplemented features, but maybe also my own ignorance. So please excuse this rather confuse ticket.\r\n\r\nAs to the documentation: it is stated that the new date tests\r\n```\r\n\\if<datetype>dateera\r\n\\if<datetype>datecirca\r\n\\ifdate‘datetype’uncertain\r\n```\r\ncan be used with other than the standard dates if `<datetype>` is exchanged with the given datetype \"(date, urldate, eventdate etc.)\". However, it strikes me that the following description (no double date) would be correct:\r\n```\r\n\\if<datetype>era\r\n\\if<datetype>circa\r\n\\if<datetype>uncertain\r\n```\r\nSince `\\iforigdatecirca` works, while `\\iforigdatedatecirca` does not.\r\n\r\nNext, if I am not missing something, `\\enddateuncertainprint` and friends are not yet documented. I figure that this is accompanied by `\\<datetype>enddateuncertainprint`, right?\r\n\r\nFinally -- again, if I am not missing something --, there does not seem to be a working implementation of `\\<datetype>circaprint` and friends, right? I needed the code below to make it work:\r\n\r\n```\r\n% These seem to be missing in biblatex\r\n\\iftoggle{blx@datecirca}{%\r\n     \\protected\\def\\origdatecircaprint{%\r\n       \\iforigdatecirca{\\bibstring{circa}\\printdelim{datecircadelim}}{}}%\r\n     \\protected\\def\\origenddatecircaprint{%\r\n       \\iforigenddatecirca{\\bibstring{circa}\\printdelim{datecircadelim}}{}}%\r\n     \\protected\\def\\origdatecircaprintedtf{%\r\n       \\iforigdatecirca{\\textasciitilde}{}}%\r\n     \\protected\\def\\origenddatecircaprintedtf{%\r\n       \\iforigenddatecirca{\\textasciitilde}{}}}\r\n\r\n\\iftoggle{blx@dateuncertain}{%\r\n     \\protected\\def\\origdateuncertainprint{%\r\n       \\iforigdateuncertain{\\bibdateuncertain}{}}%\r\n     \\protected\\def\\origenddateuncertainprint{%\r\n       \\iforigenddateuncertain{\\bibdateuncertain}{}}}\r\n%%\r\n```"},"comment":{"url":"https://api.github.com/repos/plk/biblatex/issues/comments/247091470","html_url":"https://github.com/plk/biblatex/issues/473#issuecomment-247091470","issue_url":"https://api.github.com/repos/plk/biblatex/issues/473","id":247091470,"user":{"login":"jspitz","id":4538783,"avatar_url":"https://avatars.githubusercontent.com/u/4538783?v=3","gravatar_id":"","url":"https://api.github.com/users/jspitz","html_url":"https://github.com/jspitz","followers_url":"https://api.github.com/users/jspitz/followers","following_url":"https://api.github.com/users/jspitz/following{/other_user}","gists_url":"https://api.github.com/users/jspitz/gists{/gist_id}","starred_url":"https://api.github.com/users/jspitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspitz/subscriptions","organizations_url":"https://api.github.com/users/jspitz/orgs","repos_url":"https://api.github.com/users/jspitz/repos","events_url":"https://api.github.com/users/jspitz/events{/privacy}","received_events_url":"https://api.github.com/users/jspitz/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T17:29:21Z","updated_at":"2016-09-14T17:29:21Z","body":"> The \\datecircaprint macro calls \\ifdatacirca which is aliased to \\if<datetype>datecirca in all date printing routines and so it will automatically pick up the right datetype. So you shouldn't need \\<datatype>datecircaprint.\r\n\r\nI am not sure what you mean by \"date printing routines\". I was trying to use the commands in some macro definitions in cbx and bbx files, such as the following one, which is called from within the cite:`labelyear+extrayear` macro if the `origyear` field is defined. In this context, the \\*print macros all refer to the unprefixed date:\r\n\r\n```\r\n\\newbibmacro*{cite:origyear}{%\r\n  \\ifdefstring\\blx@dateformat@origdate{edtf}\r\n       {}\r\n       {\\origdatecircaprint}%\r\n  \\dateeraprintpre{origyear}%\r\n  \\mkyearzeros{\\thefield{origyear}}%\r\n  \\iffieldsequal{origdateera}{origenddateera}{}\r\n       {\\dateeraprint{origyear}}%\r\n  \\origdateuncertainprint%\r\n  \\ifdefstring\\blx@dateformat@origdate{edtf}\r\n       {\\origdatecircaprintedtf}\r\n       {}%\r\n  \\iffieldundef{origendyear}{}{%\r\n    \\iffieldsequal{origyear}{origendyear}{}\r\n        {\\ifdefstring\\blx@dateformat@origdate{edtf}\r\n          {\\slash}% strict EDTF\r\n          {\\ifnumequal{\\thefield{origyear}}{\\thefield{origendyear}-1}{\\slash}{\\bibdaterangesep}%\r\n           \\origenddatecircaprint}%\r\n         \\dateeraprintpre{origendyear}%\r\n         \\mkyearzeros{\\thefield{origendyear}}%\r\n         \\origenddateuncertainprint%\r\n         \\ifdefstring\\blx@dateformat@origdate{edtf}\r\n           {\\origenddatecircaprintedtf}\r\n           {}%\r\n         \\dateeraprint{origendyear}}%\r\n  }%\r\n}\r\n```"}}
{"actor":{"display_login":"jspitz"}}