1.0.0.rc1 #244
No reviewers
Labels
No Label
MVP
web-interface
bug
bugfix
cli
discussion
documentation
duplicate
expense
high
expense
low
expense
medium
expense
very-high
help wanted
improvement
invalid
priority
blocker
priority
high
priority
low
priority
medium
question
refactoring
release
story
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sh-edraft.de/sh_discord_bot#244
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "1.0.0.rc1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
2a458d3460
to3721c6c246
3721c6c246
to21cfa5c524
WIP: 1.0.0.rc1to 1.0.0.rc19c23ec533d
to128e3f06a2
1.0.0.rc1to WIP: 1.0.0.rc1WIP: 1.0.0.rc1to 1.0.0.rc1128e3f06a2
to21f0f32322
@ -43,2 +43,4 @@
def time(self) -> float:
if self._leaved_on is None or self._joined_on is None:
return 0
return round((self.leaved_on - self.joined_on).total_seconds() / 3600, 2)
Folgende Frage: Wenn ein User innerhalb einer Sekunde joined und leaved, kann hier nicht durch 0 geteilt werden? Es könnte sein, dass durch die Millisekunden automatisch 1 Sekunde durch
total_seconds()
ausgegeben wird.Passt:
@ -49,2 +49,4 @@
def time(self) -> float:
if self._leaved_on is None or self._joined_on is None:
return 0
return round((self.leaved_on - self.joined_on).total_seconds() / 3600, 2)
Hier auch die selbe Frage mit durch 0 dividieren.
Approved for @Ebola-Chan
Inaktiv