Skip to content

Commit

Permalink
v. 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
damian-krawczyk committed May 18, 2019
1 parent 30adeb2 commit d84c84e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ Change Log
This document records all notable changes to `converter-csv by LimberDuck <https://github.com/LimberDuck/converter-csv>`_.
This project adheres to `Semantic Versioning <http://semver.org/>`_.

0.2.2 (2019-05-18)
---------------------

* Suffix with timestamp changed to format displayed in gui.

0.2.1 (2019-05-18)
---------------------

Expand Down
2 changes: 1 addition & 1 deletion converter_csv/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = "[email protected]"
Expand Down
10 changes: 5 additions & 5 deletions converter_csv/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand All @@ -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':
Expand Down

0 comments on commit d84c84e

Please sign in to comment.