mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-19 04:28:31 +02:00
Include dates_exporter
This commit is contained in:
parent
4eb0ab086c
commit
51fc091335
1 changed files with 3 additions and 1 deletions
|
@ -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):
|
Loading…
Add table
Reference in a new issue