Skip to content
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

Add support for date-added and date-modified #130

Closed
koppor opened this issue Jul 8, 2016 · 7 comments
Closed

Add support for date-added and date-modified #130

koppor opened this issue Jul 8, 2016 · 7 comments
Labels

Comments

@koppor
Copy link
Owner

koppor commented Jul 8, 2016

There seem to exist a bibtex tool producing following data:

Date-Added = {2015-04-29 11:46:47 +0000},
Date-Modified = {2015-04-29 11:48:44 +0000},

In JabRef, we have timestamp.

We should migrate to date-..., because date-... has more semantics.

@pautasso It seems, this is from you, isn't it? Which tool are you using? 😇

(extract from JabRef#995)

  date-added =    {2014-02-17 12:06:22 +0000},
  date-modified = {2015-06-02 20:04:28 +0000},

I currently don't know, which software writes these data fields. I think, however, that we should migrate from timestamp to date-* as the semantics of timestamp is not clear at first sight: Is it the timestamp of the last modification or the timestamp of the creation? Furthermore: Why is no time included? Furthermore: Why is no ISO date used?

@oscargus
Copy link

Also note that timestamp is just the default value and can be changed in the preferences.

@tobiasdiez
Copy link
Collaborator

Note that dates in biblatex always ends on date, like eventdate, urldate or origdate. The reason for this convention is that biblatex automatically parses these dates and provides virtual fields containing the information like eventmonth or eventyear. See \DeclareLabeldate command. Thus I would propose

  • creationdate
  • modificationdate

By the way, I think BibDesk writes date-added and date-modified.

@oscargus
Copy link

Although what you say makes sense @tobiasdiez , the question is if we should introduce yet anotherfield name. I would suspect that these field are not so interesting from a bibliography generation perspective as from a bibliography management perspective anyway.

How will BibLatex deal with time in a *date-field?

@koppor
Copy link
Owner Author

koppor commented Jul 29, 2016

dblp exports

timestamp = {Tue, 12 Jan 2016 12:01:53 +0100},

Maybe that should be supported in addition?

JabRef IMHO uses another format... We should be consistent with dblp and I think, dblp won't take our format.

@koppor
Copy link
Owner Author

koppor commented Dec 18, 2020

We support timestamp out of the box: https://docs.jabref.org/advanced/entryeditor/timestamp#usage

@koppor
Copy link
Owner Author

koppor commented Jan 3, 2021

It can be configured properly:

grafik

Proposal:

  • Add migration:
    • In case "update timestamp on modification" is not activated: rename timestamp to date-added in the .bib file. Update timestamp with time 00:00 and +00:00.
    • In case "update timestamp on modification" is activated: rename timestamp to date-modified in the .bib file. Update timestamp with time 00:00 and +00:00.
  • Rename configuration "Mark new entries with addition date" to "Add timestamp to new entries (field "date-added")"
  • Add configuration "Add timestamp to modified entries (field "date-modified")"
  • Remove configurations: "Mark new entries with addition date", "Date format", "Field name", "Overwrite", "Update timestamp on modification"
  • "Overwrite" is always active: In case an entry is added to a database, it receives a new time stamp even if a timestamp is present

@koppor
Copy link
Owner Author

koppor commented Mar 29, 2021

Implementd at JabRef#7334 with creationdate and modificationdate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants