Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Json/Stat.pm
r1446 r1448 60 60 } 61 61 62 my $date = POSIX::strftime('%Y-%m-%d % H:%M', localtime);62 my $date = POSIX::strftime('%Y-%m-%d %I:%M%p', localtime); 63 63 foreach my $val (sort keys %$res) { 64 64 push(@{ $lines{$val} }, [ $date , $res->{$val} + 0 ]); -
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Stat.pm
r1446 r1448 203 203 204 204 my $sth = $self->db->prepare(q{ 205 SELECT count, value, to_char(tstamp, 'YYYY-MM-DD HH 24:MI') as d from statsentry join205 SELECT count, value, to_char(tstamp, 'YYYY-MM-DD HH12:MIAM') as d from statsentry join 206 206 statvalues 207 207 on statsentry.id = statvalues.sid
Note: See TracChangeset
for help on using the changeset viewer.