Attaching a test script to help with troubleshooting time issues. It models the entire lifecycle of a timestamp in Mahara:
1. Epoch fetch from time()
2. Converted to a date-time string by db_format_timestamp()
3. Stored into the DB as a timestamp without timezone
4. Retrieved from the DB as an epoch
5. Converted into a human-readable string with strftime()
Attaching a test script to help with troubleshooting time issues. It models the entire lifecycle of a timestamp in Mahara:
1. Epoch fetch from time() timestamp( )
2. Converted to a date-time string by db_format_
3. Stored into the DB as a timestamp without timezone
4. Retrieved from the DB as an epoch
5. Converted into a human-readable string with strftime()