bug on exporting to bibtex

zotero do not write a month for "january" in date field when I export to bibtex.

I set a date field "1999-01" on jotero and the result of bibtex file does not containing "date" field that is expected to be "jun".
  • bump!
    it seems that January is recognized as zero that means no month field specified by bibtex exporter.
  • When you place your cursor over the date field inside Zotero, what does Zotero show? That will show you what date Zotero is interpreting your input as.
    As I understand it, if your browser locale is set to something other than English, then Zotero may not be able to parse dates written in English. Could that be the case here? If so, search the forums for the hidden preference to change the Zotero locale.
  • no, it's not a problem about locale.

    the date field is set to "January 00, 2000". and the small yellow popup says that "2000-01-00".
    when I export the item to bibtex, there is no month field while year field works fine.

    and, when I change the month field to "February 00, 2000", bibtex has month fiend that is "month = feb".
  • That certainly does sound like a Bibtex exporter bug then. I get the same behavior, and only for January. It doesn't matter how I enter January, either as (say) 1980-01 or January 1980, or anything else.

    Funny that this hadn't been caught earlier.
  • I have the same problem.
    I can't import a bibtex reference if there is a month field into it.
    Would it be possible to post a trac ticket?
  • Probably faster to just fix it, since it's a clear bug. I've uploaded a patch for review. If someone who knows their way around Z and BibTeX takes a look at it and finds it acceptable, it should work its way into the source in due course. Meanwhile, you can apply the patch yourself if it's an immediate issue.
  • Oh, sorry I hadn't read well :-(. My issue occurs when I try to import a bibtex reference, not when I export it. I appears that import does not work if I use the contracted form of the name of the month (for example "jan" for "January").
  • Can't replicate that one. The following entry imports normally here, with a date of January, 2000.@book{doe_book_2000,
    title = {Book A},
    author = {John Doe},
    month = jan,
    year = {2000}
    }
  • Your entry does not work for me :-(
    I'm using the latest svn version...
Sign In or Register to comment.