Explorar el Código

Debugged small things

Danny hace 2 años
padre
commit
9f803ad942
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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}