diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 22ed355..a688345 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,11 @@ Change Log This document records all notable changes to `converter-csv by LimberDuck `_. This project adheres to `Semantic Versioning `_. +0.2.2 (2019-05-18) +--------------------- + +* Suffix with timestamp changed to format displayed in gui. + 0.2.1 (2019-05-18) --------------------- diff --git a/converter_csv/__about__.py b/converter_csv/__about__.py index 21eb38e..8a0caf0 100644 --- a/converter_csv/__about__.py +++ b/converter_csv/__about__.py @@ -31,7 +31,7 @@ __summary__ = "Converter CSV by LimberDuck (pronounced *ˈlɪm.bɚ dʌk*) is a GUI tool which lets you convert multiple " \ "large csv files to xlsx files." __uri__ = "https://github.com/LimberDuck" -__version__ = "0.2.1" +__version__ = "0.2.2" __release_date__ = "2019.5.18" __author__ = u"Damian Krawczyk" __email__ = "damian.krawczyk@limberduck.org" diff --git a/converter_csv/app.py b/converter_csv/app.py index 38c44bd..d56cb8e 100644 --- a/converter_csv/app.py +++ b/converter_csv/app.py @@ -188,7 +188,7 @@ def parsing_thread_start(self): try: if self.__suffix_template == 'suffix_timestamp': time_now = datetime.datetime.now() - time_now_formatted = time_now.strftime('%Y-%m-%d_%H%M%S') + time_now_formatted = time_now.strftime('%Y%m%d_%H%M%S') self.update_parsing_settings('suffix', '_' + time_now_formatted) elif self.__suffix_template == 'suffix_custom': @@ -200,24 +200,24 @@ def parsing_thread_start(self): elif self.__suffix_template == 'suffix_custom_timestamp': time_now = datetime.datetime.now() - time_now_formatted = time_now.strftime('%Y-%m-%d_%H%M%S') + time_now_formatted = time_now.strftime('%Y%m%d_%H%M%S') suffix_custom_value = self.lineEdit_suffix_custom_value.text() self.update_parsing_settings('suffix', '_' + suffix_custom_value + '_' + time_now_formatted) elif self.__suffix_template == 'suffix_custom_empty_timestamp': time_now = datetime.datetime.now() - time_now_formatted = time_now.strftime('%Y-%m-%d_%H%M%S') + time_now_formatted = time_now.strftime('%Y%m%d_%H%M%S') self.update_parsing_settings('suffix', '_' + time_now_formatted) elif self.__suffix_template == 'suffix_timestamp_custom': time_now = datetime.datetime.now() - time_now_formatted = time_now.strftime('%Y-%m-%d_%H%M%S') + time_now_formatted = time_now.strftime('%Y%m%d_%H%M%S') suffix_custom_value = self.lineEdit_suffix_custom_value.text() self.update_parsing_settings('suffix', '_' + time_now_formatted + '_' + suffix_custom_value) elif self.__suffix_template == 'suffix_timestamp_custom_empty': time_now = datetime.datetime.now() - time_now_formatted = time_now.strftime('%Y-%m-%d_%H%M%S') + time_now_formatted = time_now.strftime('%Y%m%d_%H%M%S') self.update_parsing_settings('suffix', '_' + time_now_formatted) elif self.__suffix_template == 'empty':