Project

General

Profile

Actions

Feature #21264

open

Extract Date library from Ruby repo in the future

Added by hsbt (Hiroshi SHIBATA) 5 days ago. Updated 1 day ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:121627]

Description

Note: This is not for Ruby 3.5.

Date and DateTime has no primary maintainer in 10+ years. I would like to deprecate date via bundled gems for reducing our maintenance time especially @nobu (Nobuyoshi Nakada).

But Time.prase and Time.strptime are widely used now. How do we deprecate date library?

  1. Migrate Date._strptime, Date.strptime and Date._parse to Time. The current Date is migrated as bundled gems.
  2. Migrate Date to the bundled gems. Time.parse and Time.strptime warns if date is not found.
  3. Keep the current situation
  4. ...

Does anyone have another idea?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0