3 ms·
I'm surprised that GitHub actually handles this correctly. Such as saying "tomorrow" and "in 2 days".
by skyblock500 6mo ago
I'm surprised that GitHub actually handles this correctly. Such as saying "tomorrow" and "in 2 days".
- Tomte 6mo agoThey just call https://ruby-doc.org/stdlib-1.9.1/libdoc/date/rdoc/Date.html#method-i-to_s https://ruby-doc.org/stdlib-1.9.1/libdoc/date/rdoc/Date.html... or similar.
- skyblock500 6mo agoNow that you mention it, that makes much more sense than hand rolling date handling.