Bug 71818

Summary: No date in window
Product: [Applications] kopete Reporter: Matthieu Pupat <kde>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: patch that adds formattedTimestamp item for XML formatting

Description Matthieu Pupat 2004-01-04 14:38:26 UTC
Version:           0.7.94 (using KDE KDE 3.1.94)
Installed from:    Mandrake RPMs
OS:          Linux

Would it be possible to have the date in the message window :

Message from Peter Mon Jan 5 at 09:30 (for example)

Thank you
Comment 1 Olivier Goffart 2004-01-04 14:48:29 UTC
Yes, it's possible.

In configure kopete => Appearance => Chat window, 
Edit one theme.

Search for something like
<xsl:value-of select="@time"/>

and replace the "@time" by "@timestamp"  so
<xsl:value-of select="@timestamp"/>



Anyway, one of the default theme should have this? no?
(But it's not translated)
Comment 2 Matthieu Pupat 2004-01-04 15:46:35 UTC
With the new syntax %TIME% it does not work. %TIMESTAMP% produces TIMESTAMP
Comment 3 Casey Allen Shobe 2004-01-04 16:39:35 UTC
It would be very nice to have <xsl:value-of select="@prettytime"/>, which would return only the time if date == today, or datetime if date != today.  This would fix the problems with browsing backwards in history, too.
Comment 4 Stefan Gehn 2004-02-09 13:08:06 UTC
Fixed in CVS.
Btw, this can even be backported to KDE_3_2_BRANCH if anybody likes doing backports :)
Comment 5 Stefan Gehn 2004-02-09 13:10:15 UTC
Created attachment 4592 [details]
patch that adds formattedTimestamp item for XML formatting

Just ignore the reaformatting of nameColors[] :)
Attached to make it easier to find the change and help possible backporters.