From 571aa101babf892479a4758efc8e294fd97571e9 Mon Sep 17 00:00:00 2001 From: spencerkclark Date: Mon, 17 Apr 2023 18:21:09 -0400 Subject: [PATCH] No longer subclass DateConverter --- nc_time_axis/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nc_time_axis/__init__.py b/nc_time_axis/__init__.py index a5276ad..e37bcef 100644 --- a/nc_time_axis/__init__.py +++ b/nc_time_axis/__init__.py @@ -454,7 +454,7 @@ def has_year_zero(year): return cftime.date2num(ticks, self.date_unit, calendar=self.calendar) -class NetCDFTimeConverter(mdates.DateConverter): +class NetCDFTimeConverter(munits.ConversionInterface): """ Converter for :py:class:`cftime.datetime` data.