View Issue Details

IDProjectCategoryView StatusLast Update
0007844mantisbtfeaturepublic2023-04-26 11:53
Reporterandre_steffens Assigned Tograngeway  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionwon't fix 
Product Version1.1.0a2 
Summary0007844: date format in scripts
Description

It would be usefull to change the date format from unix_timestamp to a better format. At the moment the range is only from 1970-01-01 to 2038-01-19.

Dates should be save and handle as "1970-01-01 09:30:25" = "Y-m-d H:i:s" with this change we wouldn't become problems in 2038!

TagsNo tags attached.

Relationships

related to 0032456 acknowledged Date columns are created as int4 type in PostgreSQL despite PHP is 64 Bit (expected int8 types according to PHP_INT_SIZE) 

Activities

grangeway

grangeway

2014-10-11 04:34

reporter   ~0041554

We wouldn't store dates in format suggested.

As we get closer to 2038, the solution here will probably be to only allow mantis to run with 64BIT versions of php, which extends the date to some point after we dead ;)

If you are actually using dates in Mantis that are getting close to 2038 'now', please reopen this bug and we can look at whether there is scope to change the database storage from a INT to a 64bit BIGINT type type 'now'.

I'm assuming however, that we don't need to worry about this for a few years.