store last updated as timestamp
joachim - October 24, 2009 - 12:43
| Project: | Module Builder |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
This is total WTFage:
module_builder_last_update is stored as a formatted string.
Change this to store as timestamp and format on output.
Slight problem: people upgrading to latest code will get garbled output.

#1
Better still: now we store a processed file, we could just get its timestamp? Or store a timestamp inside it?
See http://php.net/manual/en/function.filemtime.php