diff --git a/pihole_tweeter.py b/pihole_tweeter.py index c775658..c0fdf36 100644 --- a/pihole_tweeter.py +++ b/pihole_tweeter.py @@ -65,7 +65,7 @@ def get_pihole_data(): def construct_tweet(data): - today = datetime.today().strftime("%d.%m.%Y") + today = datetime.today().strftime("%m.%d.%Y") tweet = 'Pi-hole statistics for {date}:\n'.format(date=today) tweet += 'Ads Blocked: ' + str(comma_value(data['ads_blocked_today'])) tweet += ' (' + str(round(data['ads_percentage_today'], 2)).replace('.', ',') + ' %)\n'