Timestamp Issue

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ankush
Posts: 3
Joined: 04 Aug 2010, 06:23

Timestamp Issue

Post by ankush »

Hello,

I upgrade my mantis to 1.2.2.
My older version mantis use datetime format in db but now it is using int.

As i am using whole my old database with newer version files, and in old database date is stored in dateformat(2010-08-01 00:00:00) but this newer version using timestamp in files and due to this it is not showing correct date.

I did all the necessary steps, and now i am struggling with date issues

Only the thing is pending that it is not showing correct date because newer version is using timestamp.

Can anyone let me know the files where I have to do changes.

What all the necessary steps i have to do


Thanks
Ankush
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Timestamp Issue

Post by atrol »

ankush wrote: As i am using whole my old database with newer version files,
I don't understand this sentence.
You can't use new MantisBT 1.2.2 PHP files (is this what you mean with newer version files) with an older database (maybe 1.1.x?) because there are changs in database schema (not just the changes in date but also others)
Please use Search before posting and read the Manual
ankush
Posts: 3
Joined: 04 Aug 2010, 06:23

Re: Timestamp Issue

Post by ankush »

I upgrade my old mantis with new version.

Old version using datetime format to store date in database whereas new version using INT format to store date in database.

And due to this date is coming in correct at display side
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Timestamp Issue

Post by atrol »

ankush wrote: And due to this date is coming in correct at display side
Which date we are talking about? All or "Date submitted", "last Update", date entries in history, dates of notes?
Are the dates also wrong when entering new issues or only the dates of issues which where entered with older version of MantisBT?
Please use Search before posting and read the Manual
Post Reply