-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom export format biblatex date field to bibtex year, month and day ones. #6579
Comments
Well, in fact, it is very easy to solve now as all fields seem well treated as valid aliases now. The custom export filter as
will now output entries as
|
Well, in fact, it only works for the month of May because it is already a 3 characters long string, but for January for instance, the full month name will be output, instead of |
Have you seen the DateFormatter? https://docs.jabref.org/collaborative-work/export/customexports#built-in-export-formatters edit// I saw that it requires valid iso date. |
Yeah, I tried but it doesn't work, as you saw (I added an explicit mention about it in the first message of this issue). |
I currently see no existing solution, so you would need to write your own Formatter which can format Months. |
* add short date formatter. fixes #6579 * Update src/main/java/org/jabref/logic/layout/format/ShortMonthFormatter.java Co-authored-by: Christoph <siedlerkiller@gmail.com> * remove setArgument * fixing imports Co-authored-by: Christoph <siedlerkiller@gmail.com>
Thanks to @joethei there's now a new Short Month Formatter We would like to ask you to use a development build from https://builds.jabref.org/master and report back if it works for you. Please remember to make a backup of your library before trying-out this version. |
Hello, I see date processing is still in the pipes ! (See issues #1249 and #6224)
Almost two years ago (see here), I asked for a way to write a custom export with dates from the biblatex
date
field to bibtexyear
,month
andday
fields with an emphasis on themonth
field (I am not the first one, see here).I tried using the DateFormatter but an error is still raised when the
date
field doesn't resolve as a full ISO date (YYYY-MM-DD
), and even if it worked, it would only output the month number, and not the bibtex equivalent.Any clue on how to solve this ?
The text was updated successfully, but these errors were encountered: