Ver código fonte

Debugged small things

Danny 2 anos atrás
pai
commit
9f803ad942
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      time_recoder/save_recorded_time_in_table.py

+ 1 - 1
time_recoder/save_recorded_time_in_table.py

@@ -11,7 +11,7 @@ def create_recorded_time_dict(worked_time, income, task):
             'Datum': str(datetime_functions.get_current_date()) ,
             'Arbeitszeit': worked_time,
             'Einkommen': income,
-            'Kalenderwoche': datetime_functions.get_calendarweek_from_datetime(datetime_functions.get_current_date()),
+            'Kalenderwoche': datetime_functions.datetime_to_str(datetime_functions.get_current_date(), '%V'),
             'Task': task}