From 51fc091335f96c60c947e519fded259f73dff1b8 Mon Sep 17 00:00:00 2001 From: MinchinWeb Date: Wed, 5 May 2021 20:42:06 -0600 Subject: [PATCH] Include dates_exporter --- jrnl/plugins/{ => exporter}/dates_exporter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename jrnl/plugins/{ => exporter}/dates_exporter.py (91%) diff --git a/jrnl/plugins/dates_exporter.py b/jrnl/plugins/exporter/dates_exporter.py similarity index 91% rename from jrnl/plugins/dates_exporter.py rename to jrnl/plugins/exporter/dates_exporter.py index 8be5c19e..768f68bf 100644 --- a/jrnl/plugins/dates_exporter.py +++ b/jrnl/plugins/exporter/dates_exporter.py @@ -4,14 +4,16 @@ # License: https://www.gnu.org/licenses/gpl-3.0.html from collections import Counter +from jrnl import __version__ from jrnl.plugins.exporter.text_exporter import Exporter as TextExporter -class DatesExporter(TextExporter): +class Exporter(TextExporter): """This Exporter lists dates and their respective counts, for heatingmapping etc.""" names = ["dates"] extension = "dates" + version = __version__ @classmethod def export_entry(cls, entry):