Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed panda install bug #1

Merged
merged 1 commit into from

3 participants

@ajs

Panda was dying with:

Variable $.hour used where no 'self' is available
at lib/DateTime/Utils.pm6:32

Fixed this by adding the name of the object to call .hour on.

@supernovus supernovus merged commit 9c1e49f into supernovus:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 15, 2012
  1. @ajscogo
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/DateTime/Utils.pm6
View
2  lib/DateTime/Utils.pm6
@@ -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" },
Something went wrong with that request. Please try again.