Explorar o código

Debugged small things

Danny %!s(int64=2) %!d(string=hai) anos
pai
achega
9f803ad942
Modificáronse 1 ficheiros con 1 adicións e 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}