Skip to content

Commit

Permalink
return full date without formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkywafer committed Jan 7, 2022
1 parent 116c457 commit aab920e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/anniversaries/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def extra_state_attributes(self):
res[ATTR_YEARS_NEXT] = self._years_next
res[ATTR_YEARS_CURRENT] = self._years_current
try:
res[ATTR_DATE] = datetime.strftime(self._date,self._date_format)
res[ATTR_DATE] = self._date
except:
res[ATTR_DATE] = self._date
res[ATTR_WEEKS] = self._weeks_remaining
Expand Down

0 comments on commit aab920e

Please sign in to comment.