Skip to content

Rework to_batch_interval_start for the new Time world #4225

@jcjones

Description

@jcjones

This is just not ergonomic. I did it this way because to_batch_interval_start() is just odd to reason through hanging off of DateTimeExt -- for this purpose anyway. It's also a bit weird to hang off Time because then we need basically two time_precision arguments.

I'm going to open a follow-on to tackle this better. For now, this may be dumb but it works.

Originally posted by @jcjones in #4219

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions