Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
I would like to see the

Edited by Gerrit on 12/15/00 07:30 AM (server time).

to be adjusted time... that should be possible, right??? <img border="0" title="" alt="[Roll Eyes]" src="images/icons/rolleyes.gif" />

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Unfortunately not really. Well, let me rephrase that. It can be done, but wouldn't be optimal. It would require putting a placeholder in the body of a message, and then doing a regular expression to look for that placeholder and extract the time. Then you'd have to do a conversion and then replace the placeholder with the the adjusted time. So, yes it is possible. I know how to do it, just not sure at this point if it's a good idea.

-------------------

Scream

WWWThreads Developer

Anonymous
Unregistered
Anonymous
Unregistered
I see... so, with other words, it might be too much work on the server to re-calculate that for each view?

Anonymous
Unregistered
Anonymous
Unregistered
Why not store the edit time in the DB instead of in the message body, and then have (if edit time exists for a given post record) it display the adjusted time of that value?

D

Anonymous
Unregistered
Anonymous
Unregistered
Right, just like the B_Posted the could be an e.g. B_Changed, right? Wouldn't that work?


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Ruben), 373 guests, and 254 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)