mysql fail
This commit is contained in:
parent
e0160fa90f
commit
d05e985850
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
.card
|
.card
|
||||||
- @transactions.each do |t|
|
- @transactions.each do |t|
|
||||||
- t.symbolize_keys!
|
- t.symbolize_keys!
|
||||||
- date = Date.parse t[:time]
|
- date = t[:time].is_a?(Time) ? t[:time] : Date.parse(t[:time])
|
||||||
.transaction
|
.transaction
|
||||||
.transaction-calendar
|
.transaction-calendar
|
||||||
%span.transaction-day= date.strftime('%d')
|
%span.transaction-day= date.strftime('%d')
|
||||||
|
|
Loading…
Reference in a new issue