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

Use updated_at timestamp for "create" versions #589

Merged

Commits on Aug 11, 2015

  1. Use updated_at timestamp for "create" versions

    "Create" versions currently use the item's created_at field to set the version's timestamp. 
    
    This is wrong in the case where the item was created at some point in the past, then deleted, then is now being created again (e.g., through reification). The version gets the timestamp from the original creation.
    
    Instead, this change uses the item's updated_at field which is the time of the re-creation. This is also consistent with what happens in "update" versions
    ItaiLeibowitz committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    245e835 View commit details
    Browse the repository at this point in the history