Permalink
Browse files

Added object qualifier to get panda to work

  • Loading branch information...
1 parent 21a61d9 commit 7ab1e288440fb9eacbeee2a81c53eb16960ed6ba @ajscogo ajscogo committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/DateTime/Utils.pm6
View
@@ -29,7 +29,7 @@ module DateTime::Utils {
'P' => { ($dt.hour < 12) ?? 'AM' !! 'PM' },
'r' => { (($dt.hour+23)%12+1).fmt('%02d') ~ ':' ~
$dt.minute.fmt('%02d') ~ ':' ~ $dt.whole-second.fmt('%02d')
- ~ (($.hour < 12) ?? 'am' !! 'pm') },
+ ~ (($dt.hour < 12) ?? 'am' !! 'pm') },
'R' => { $dt.hour.fmt('%02d') ~ ':' ~ $dt.minute.fmt('%02d') },
's' => { $dt.posix.fmt('%d') },
't' => { "\t" },

0 comments on commit 7ab1e28

Please sign in to comment.