Skip to content

DateFormatEnum

Bases: str, Enum

Enum for date formats used in different sources.

Attributes:

  • SOURCES_CSV (str) –

    Date format for CSV sources, e.g., "2023-10-01 12:00:00".

  • WAYBACK (str) –

    Date format for Wayback Machine, e.g., "20231001120000".

  • NONE (str) –

    Represents an empty date format.

NONE class-attribute instance-attribute

NONE = ''

SOURCES_CSV class-attribute instance-attribute

SOURCES_CSV = '%Y-%m-%d %H:%M:%S'

WAYBACK class-attribute instance-attribute

WAYBACK = '%Y%m%d%H%M%S'