Skip to content

2-day ticks between months #245

@FlorianDr

Description

@FlorianDr

Hey there,

I'm trying to create uniformly-spaced time ticks with 'time.ticks()'. However, the function returns non equidistant intervals for the 2-day ticks going over the end of a month. Here is an example:

https://jsfiddle.net/6vopq2by/

The document states "The returned tick values are uniformly-spaced (mostly)". Why "mostly"?

How can I achieve my use cases for the provided instance? Will I need to make use of '.every()' with a custom interval?

Thank you in advance,
Florian

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