highing666 %!s(int64=3) %!d(string=hai) anos
pai
achega
ea66c1cbae
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 0 0
      app/schemas/instructions.py
  2. 1 1
      app/utils/date.py

+ 0 - 0
app/schemas/instructions.py


+ 1 - 1
app/utils/date.py

@@ -31,5 +31,5 @@ def get_time_str(delta: int = 0, flag: str = 'now', fmt: Optional[str] = TIME_FM
 
 
 def get_quarter_minutes(time_str: str) -> str:
-    temp = arrow.get(time_str, TIME_FMT).timestamp // (15 * 60) * (15 * 60)
+    temp = arrow.get(time_str, TIME_FMT).timestamp() // (15 * 60) * (15 * 60)
     return arrow.get(temp).time().strftime('%H%M%S')