Ignore:
Timestamp:
Sep 3, 2009, 11:27:00 PM (12 years ago)
Author:
Alex Dehnert <adehnert@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
d694c55
Parents:
4df918b
git-author:
Alex Dehnert <adehnert@mit.edu> (09/03/09 17:02:49)
git-committer:
Alex Dehnert <adehnert@mit.edu> (09/03/09 23:27:00)
Message:
Add configurable time display

Includes :showdate, :hidedate, and :timeformat
commands to change the time display and
redisplay messages.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Style/Default.pm

    r5550eb0 r0b2afba  
    4242    my $self = shift;
    4343    my $m = shift;
    44     return strftime('%H:%M', localtime($m->unix_time));
     44    my $dateformat = BarnOwl::time_format('get_time_format');
     45    return strftime($dateformat, localtime($m->unix_time));
    4546}
    4647
Note: See TracChangeset for help on using the changeset viewer.