Support Forums

PM Date

This is a discussion on PM Date within the Technical Support forums, part of the Technical Support Forums category; My private messaging inbox displays the date like "20090410193726". I guess its year, month, day, hour, minute, second. How can ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 04-19-2009, 04:32 PM   #1
Member
 
Join Date: Mar 2009
Posts: 82
Rep Power: 18
wabugi is a glorious beacon of light wabugi is a glorious beacon of light wabugi is a glorious beacon of light
Default PM Date

My private messaging inbox displays the date like "20090410193726".

I guess its year, month, day, hour, minute, second. How can I force the PM-system to use seperators and another order? Or is it just a bug?
__________________
v4.15 - Developer Edition - custom template
wabugi is offline  
Old 04-20-2009, 09:35 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I tested my local install and the pm date shows as:
2007-08-30 10:48:16
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 04-20-2009, 12:31 PM   #3
Member
 
Join Date: Mar 2009
Posts: 82
Rep Power: 18
wabugi is a glorious beacon of light wabugi is a glorious beacon of light wabugi is a glorious beacon of light
Default

I tested every included template and my own template and the date is still displayed like this. Any idea where I should search for the reason?
__________________
v4.15 - Developer Edition - custom template
wabugi is offline  
Old 04-20-2009, 01:06 PM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,411
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

what exact version of 68C are you running?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 04-20-2009, 02:09 PM   #5
Member
 
Join Date: Mar 2009
Posts: 82
Rep Power: 18
wabugi is a glorious beacon of light wabugi is a glorious beacon of light wabugi is a glorious beacon of light
Default

I'm running v4.1.2 Developer.
__________________
v4.15 - Developer Edition - custom template
wabugi is offline  
Old 04-20-2009, 02:21 PM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

If you have phpmyadmin or some other type of database management can you go to the class_pm table and see what is stored in the datesent field? Mine looks like this: 2007-08-30 10:45:23
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 04-20-2009, 05:39 PM   #7
Member
 
Join Date: Mar 2009
Posts: 82
Rep Power: 18
wabugi is a glorious beacon of light wabugi is a glorious beacon of light wabugi is a glorious beacon of light
Default

The datesend-field also shows the date like "20090410193726".
That means the script doesen't write the correct data into the table right? I didn't modify any scripts in relation to the PM-system.
__________________
v4.15 - Developer Edition - custom template
wabugi is offline  
Old 04-20-2009, 07:49 PM   #8
curmudgeon
 
Join Date: Mar 2006
Posts: 5,411
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by wabugi
The datesend-field also shows the date like "20090410193726".
That means the script doesen't write the correct data into the table right? I didn't modify any scripts in relation to the PM-system.
Not necessarily. FOr PM's the database column type is timestamp and it uses now() to get the date. I would lean more toward the way your database server is set up or its version. What version of mysql are you using?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 04-21-2009, 11:00 AM   #9
Member
 
Join Date: Mar 2009
Posts: 82
Rep Power: 18
wabugi is a glorious beacon of light wabugi is a glorious beacon of light wabugi is a glorious beacon of light
Default

Server version: 4.0.25-Max-log

MySQL client version: 5.0.27
__________________
v4.15 - Developer Edition - custom template
wabugi is offline  
Old 04-21-2009, 11:13 AM   #10
curmudgeon
 
Join Date: Mar 2006
Posts: 5,411
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by wabugi
Server version: 4.0.25-Max-log
Thats a pretty old version prior to v4.1 timestamps behaved a bit different.

If you look at the database itself via command line client of phpmyadmin in the table for datesent, what do you have stored? Is it just a string of number like this...

20090410193726

or is it like this?

2009-04-10 13:12:48
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Added and Expiration Date suav Technical Support 2 09-10-2008 12:48 AM
Expiration Date goose Technical Support 2 01-01-2008 02:27 PM


All times are GMT -4. The time now is 11:26 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0