diff options
author | Chih-Hsuan Yen <yan12125@gmail.com> | 2020-12-25 14:42:42 +0800 |
---|---|---|
committer | Chih-Hsuan Yen <yan12125@gmail.com> | 2020-12-25 14:42:42 +0800 |
commit | 731e1e6c5c7bc73519922847d116ed9ed6833f3b (patch) | |
tree | eb96b0fe9bd398779752ce2fe594ca9726c9251d /setuptools/command/egg_info.py | |
parent | adf71a781816d61db524441fcce2c097106a73b5 (diff) | |
download | python-setuptools-git-731e1e6c5c7bc73519922847d116ed9ed6833f3b.tar.gz |
egg_info: avoid non-PEP440 versions from tag_date
Diffstat (limited to 'setuptools/command/egg_info.py')
-rw-r--r-- | setuptools/command/egg_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 0b7ad677..97e10d99 100644 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -140,7 +140,7 @@ class InfoCommon: if self.tag_build: version += self.tag_build if self.tag_date: - version += time.strftime("-%Y%m%d") + version += time.strftime("%Y%m%d") return version vtags = property(tags) |