Skip to content

Mixing times from before and after 2001 breaks #228

Description

@hansthen

When providing a GeoJson that has dates from before and after 2001-09-09 the Timedimension breaks.

This issue was originally discovered and reported when using the Folium package: see python-visualization/folium#1268 for more background.

The issue may be related to the fact that during 2001-09-09 an extra digit was added in the unix timestamp.

User @davecao suggests the following fix:

In the function sort_and_deduplicate change the line arr = arr.slice(0).sort() to arr = arr.slice(0).sort(function(a, b){return a-b;});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions