Switched to full year in citekey generation.
This commit is contained in:
parent
7d5f7e54c3
commit
a1e69cdf61
@ -82,7 +82,7 @@ class Repository(object):
|
|||||||
article = bib_data.entries[list(bib_data.entries.keys())[0]]
|
article = bib_data.entries[list(bib_data.entries.keys())[0]]
|
||||||
first_author = article.persons['author'][0]
|
first_author = article.persons['author'][0]
|
||||||
year = article.fields['year']
|
year = article.fields['year']
|
||||||
prefix = '{}{}'.format(first_author.last()[0][:6], year[2:])
|
prefix = '{}{}'.format(first_author.last()[0][:6], year)
|
||||||
|
|
||||||
letter = 0
|
letter = 0
|
||||||
citekey = None
|
citekey = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user