[ruby-core:87664] [Ruby trunk Feature#14877] Calculate age in Date class

From: derosm2@...
Date: 2018-06-28 11:27:38 UTC
List: ruby-core #87664
Issue #14877 has been reported by derosm2 (Mike DeRosa).

----------------------------------------
Feature #14877: Calculate age in Date class
https://bugs.ruby-lang.org/issues/14877

* Author: derosm2 (Mike DeRosa)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
Seems like there's enough complexity in determining the right values and it's something a ton of apps have to address. I've seen a bunch of StackOverflow and other blog posts attempt to address this, not all of them accurately.

`Date.new(2016, 3, 6).age #=> 2`



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next