mirror of
https://github.com/neocities/neocities.git
synced 2025-07-20 01:26:03 +02:00
more work on comments for events
This commit is contained in:
parent
eba4a6e3f5
commit
b96730b83f
17 changed files with 2298 additions and 43 deletions
|
@ -108,4 +108,12 @@ class Numeric
|
|||
def rounddown(nearest=10)
|
||||
self % nearest == 0 ? self : self - (self % nearest)
|
||||
end
|
||||
end
|
||||
|
||||
class Time
|
||||
alias_method :ago_original, :ago
|
||||
|
||||
def ago
|
||||
ago_original.downcase.gsub('right now, this very moment.', 'just now')
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue