- Timestamp:
- Jun 9, 2009, 12:37:12 PM (16 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 30e7ffd
- Parents:
- d1ae4a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/Style/Default.pm
ree183be r5550eb0 3 3 4 4 package BarnOwl::Style::Default; 5 use POSIX qw(strftime); 6 5 7 ################################################################################ 6 8 # Branching point for various formatting functions in this style. … … 40 42 my $self = shift; 41 43 my $m = shift; 42 my ($time) = $m->time =~ /(\d\d:\d\d)/; 43 return $time; 44 return strftime('%H:%M', localtime($m->unix_time)); 44 45 } 45 46
Note: See TracChangeset
for help on using the changeset viewer.