Skip to content

always create cftime datetime instances by default in num2date #136

@jswhit

Description

@jswhit

Currently, a python datetime instance is returned if possible. This can be controlled by the use_only_cftime_datetimes kwarg, which is currently False by default. PR #135 switches the default to True to avoid surprising results such as discussed in issue #134.

Will this cause problems with existing code? Is anyone relying on the current default?

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