Bug 71818 - No date in window
Summary: No date in window
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-04 14:38 UTC by Matthieu Pupat
Modified: 2004-02-09 13:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
patch that adds formattedTimestamp item for XML formatting (2.47 KB, patch)
2004-02-09 13:10 UTC, Stefan Gehn
Details

Note You need to log in before you can comment on or make changes to this bug.
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.