|
|
@ -622,6 +622,8 @@ class Facts(object):
|
|
|
|
self.facts['date_time']['year'] = now.strftime('%Y')
|
|
|
|
self.facts['date_time']['year'] = now.strftime('%Y')
|
|
|
|
self.facts['date_time']['month'] = now.strftime('%m')
|
|
|
|
self.facts['date_time']['month'] = now.strftime('%m')
|
|
|
|
self.facts['date_time']['weekday'] = now.strftime('%A')
|
|
|
|
self.facts['date_time']['weekday'] = now.strftime('%A')
|
|
|
|
|
|
|
|
self.facts['date_time']['weekday_number'] = now.strftime('%w')
|
|
|
|
|
|
|
|
self.facts['date_time']['weeknumber'] = now.strftime('%W')
|
|
|
|
self.facts['date_time']['day'] = now.strftime('%d')
|
|
|
|
self.facts['date_time']['day'] = now.strftime('%d')
|
|
|
|
self.facts['date_time']['hour'] = now.strftime('%H')
|
|
|
|
self.facts['date_time']['hour'] = now.strftime('%H')
|
|
|
|
self.facts['date_time']['minute'] = now.strftime('%M')
|
|
|
|
self.facts['date_time']['minute'] = now.strftime('%M')
|
|
|
|