You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using:
PurchaseHistory.group_by_month(:purchase_date,"sum","quantity*price")
It returns the following output:
"2015-08-01 00:00:00 UTC"=>40.0
Is there a way to get monthname instead of the whole timestamp?
The text was updated successfully, but these errors were encountered:
I am using:
PurchaseHistory.group_by_month(:purchase_date,"sum","quantity*price")
It returns the following output:
"2015-08-01 00:00:00 UTC"=>40.0
Is there a way to get monthname instead of the whole timestamp?
The text was updated successfully, but these errors were encountered: