pidgin/nest

c76fb0834ef9
Update the update-lastmod.js file to use date from file

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.

Testing Done:
1. Build docker container
2. Run docker container
3. 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.

Reviewed at https://reviews.imfreedom.org/r/640/
REVIEWBOARD_URL = "https://reviews.imfreedom.org/"
REPOSITORY = "pidgin/nest"
REPOSITORY_TYPE = "mercurial"
BRANCH = "default"
LAND_DEST_BRANCH = "default"
LAND_PUSH = False