OregonDigital / oregondigital

OregonDigital Hydra Application
https://oregondigital.org/catalog/
Other
25 stars 5 forks source link

update bag_info date #1425

Closed lsat12357 closed 3 years ago

lsat12357 commented 3 years ago

In export.rb, the bag_finisher method is for updating the bag after changes have been made. I thought that the BagIt method write_bag_info updated the bag-info, but not on its own. This PR inserts a few lines of code in bag_finisher to set the date to current date before calling write_bag_info.