changes risk report period label to YYYY-MM format

This commit is contained in:
fawce committed 2012-04-04 17:01:49 -04:00
1 parent 701687b812
commit 4adf8ff854
1 file changed
+1 -1
+1 -1
View File
@@ -123,7 +123,7 @@ class RiskMetrics():
Creates a dictionary representing the state of the risk report.
Returns a dict object of the form:
"""
period_label = self.end_date.strftime("%B %Y")
period_label = self.end_date.strftime("%Y-%m")
return {
'trading_days' : self.trading_days,
'benchmark_volatility' : self.benchmark_volatility,