ryancramerdesign / ProcessWire-2.0

THIS IS AN OLD VERSION. Get the new one at the URL below:
https://github.com/ryancramerdesign/ProcessWire
GNU General Public License v2.0
39 stars 5 forks source link

root page returns 1.1.1970 as creation date #16

Closed adamkiss closed 13 years ago

adamkiss commented 13 years ago

Since root is created during install and is undeletable [at least I think], it would be nice if it had installation date as 'created' in db

ryancramerdesign commented 13 years ago

I agree, I'll update this. Going to leave this open till it's completed.

ryancramerdesign commented 13 years ago

This has been fixed in the latest commit. Now all the default page dates should be set with create and modification dates equal to the date of installation. Of course, this is only applicable to new installations going forward. Thanks for finding this!