diff --git a/mastodon_email_bridge/mastodon_email_bridge.py b/mastodon_email_bridge/mastodon_email_bridge.py index 199b54d..226c8fc 100755 --- a/mastodon_email_bridge/mastodon_email_bridge.py +++ b/mastodon_email_bridge/mastodon_email_bridge.py @@ -173,6 +173,7 @@ class MastodonEmailBridge: msg = MIMEMultipart('alternative') msg['Subject'] = self._str_template(self.config['subjet_template'], data) msg['From'] = sender + msg['Date'] = time.strftime('%a, %d %b %Y %H:%M:%S %z') msg['To'] = recipient html_template = self.j2env.get_template("new_post.html.j2") html_source = html_template.render( diff --git a/pyproject.toml b/pyproject.toml index 2b87958..3a9c524 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ Homepage = "https://codeberg.org/adelgado/mastodon_email_bridge" [project] name = "mastodon_email_bridge" -version = "0.0.9" +version = "1.0.0" description = "Redirect your Mastodon Home timeline to your email" readme = "README.md" authors = [{ name = "Antonio J. Delgado", email = "ad@susurrando.com" }] diff --git a/setup.cfg b/setup.cfg index e4f14f5..9a3a634 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = mastodon_email_bridge -version = 0.0.9 +version = 1.0.0 [options] packages = mastodon_email_bridge