Update the update-lastmod.js file to use date from file
Review Request #640 — Created May 3, 2021 and submitted — Latest diff uploaded
The update-lastmod file was taking the first commit for the specific file and replacing the "date" attribute with the date of the commit. This fix sets the date as the attribute date if it exists and if it doesn't uses the first commit date.
- Build docker container
- Run docker container
- Run the update-lastmod.js script with node and verified that the files with dates stayed the same and ones without used the first commit.