Include dates_exporter

This commit is contained in:
MinchinWeb 2021-05-05 20:42:06 -06:00
parent 4eb0ab086c
commit 51fc091335

View file

@ -4,14 +4,16 @@
# License: https://www.gnu.org/licenses/gpl-3.0.html # License: https://www.gnu.org/licenses/gpl-3.0.html
from collections import Counter from collections import Counter
from jrnl import __version__
from jrnl.plugins.exporter.text_exporter import Exporter as TextExporter 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.""" """This Exporter lists dates and their respective counts, for heatingmapping etc."""
names = ["dates"] names = ["dates"]
extension = "dates" extension = "dates"
version = __version__
@classmethod @classmethod
def export_entry(cls, entry): def export_entry(cls, entry):