Skip to content

Commit

Permalink
Update code/__HELPERS/time.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Mikhail Dzianishchyts <[email protected]>
  • Loading branch information
dj-34 and m-dzianishchyts authored Jan 29, 2024
1 parent 6012438 commit 4129555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/__HELPERS/time.dm
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
/proc/seconds_to_time(seconds as num)
var/numSeconds = seconds % 60
var/numMinutes = (seconds - numSeconds) / 60
return "[numMinutes] [numMinutes > 1 ? "минуты" : "минут"] и [numSeconds] секунд"
return "[numMinutes] [(numMinutes % 10) != 1 ? "минут(ы)" : "минута"] и [numSeconds] секунд"

/// Take a value in seconds and makes it display like a clock. Hours are stripped. (mm:ss)
/proc/seconds_to_clock(seconds as num)
Expand Down

0 comments on commit 4129555

Please sign in to comment.