Visitar URL original
type NominalDiffTime = DiffTime · Issue #281 · haskell/time · GitHub
Skip to content

type NominalDiffTime = DiffTime #281

Open

Description

@AshleyYakeley

More-or-less nobody cares about leap-seconds, and those who do don't really need the extra safety of distinguishing NominalDiffTime and DiffTime.

Not sure what the impact of this will be, so not sure if we should do this.

Activity

  1. added this to the 1.16 milestone on Jul 27, 2025
  2. TravisWhitaker commented on Oct 4, 2025

    @TravisWhitaker

    FWIW I currently have code that deals with deals with quantities where leap seconds are relevant, and where leap seconds are not. I'm not defending the current API per-se, but retaining the ability to distinguish between the different sorts of time intervals is a nice feature.

  3. modified the milestones: 1.16, Future on May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions