Opened 12 years ago

Last modified 12 years ago

#848 assigned Enhancement

timestamp formats and positioning

Reported by: Koen Vervloesem <kvervloesem@…> Owned by: timothy
Component: Colloquy (Mac) Version: 2.1 (Mac)
Severity: Trivial Keywords: timestamps,style
Cc:

Description

Several people on irc have been asking for different timestamp formats, e.g. seconds and left and right positioning. I think this is interesting enough to be customizable in the default stylesheet. I have a working implementation of all these options (position: left, right, hidden; format: with or without seconds, am/pm or 24h) in my not-yet-released stylesheet and I could change default.xsl (and main.xsl of the other styles delivered with Colloquy) and styleOptions.plist to get that working in other stylesheets. Just send me an email if you are interested.

Change History (3)

comment:1 Changed 12 years ago by timothy

  • Status changed from new to assigned

Sounds like a good things to add to some or all of the default styles. Using EXSLT?

comment:2 Changed 12 years ago by Koen Vervloesem <kvervloesem@…>

If I update the styleOptions.plist file with the option to change the timestamp positioning to left/right/hidden, most of the styles work with it. However, some of the styles don't have a margin for a left positioned timestamp and other styles (e.g. Synapse) don't allow a different position of the timestamp because they don't use the .timestamp class for a timestamp.

Is it ok if I change all bundled styles to work with the new option? I will send you the updated files soon. Do you prefer diff files?

comment:3 Changed 12 years ago by Rinoa

Apparently this was never replied too.. But if you have the changes for all the included styles as an option, feel free to send a patch in! Diff files is fine. I'd suggest checking out the lastest updates first, because the styles have all been changed recently, just to make sure it still works before sending it in.

Note: See TracTickets for help on using tickets.