Skip to content

Deprecate date to-record and date to-table #11234

Closed

Description

@kaathewisegit

I suggest removing date to-record command in favor of into record, by moving the output of date to-record to <date> | into record, as it returns nanoseconds.

And removing date to-table in favor of 2020-04-12T22:10:57+02:00 | into record | [$in].

Activity

  1. added
    category:enhancement
    status:needs-triage
    on Dec 5, 2023
  2. fdncred commented on Dec 5, 2023

    @fdncred
    Contributor

    I'd support this as long as there were examples that demonstrate the usage, and like you say, the date to-record format is moved over to into record.

  3. kaathewisegit commented on Dec 5, 2023

    @kaathewisegit
    ContributorAuthor

    into record has a 2020-04-12T22:10:57+02:00 | into record example.

    Unsure where the example for date to-table can be added. There is currently no into table, which could in theory be chained with <date> | into record | into table.

  4. amtoine commented on Dec 5, 2023

    @amtoine
    Member

    yeah, if we add the nanoseconds to the date, i support this deprecation as they can both be achieved with into record and into record | [$in] or into record | transpose | transpose -r 👍

  5. LoicRiegel commented on May 5, 2025

    @LoicRiegel
    Contributor

    This seems to be done, can this be closed?

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

    category:enhancementstatus:needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions