Skip to content

Sweep: add time pretty-printing functionality when you call ._print() on any PrettyTime object #11

@wwzeng1

Description

@wwzeng1

Use an abstractbaseclass for this and add this logic in the parent class

Checklist
  • prettytime.py
  • Add a new method to the 't' class called '_print'. This method should return a string representation of the PrettyTime object in a human-readable format.
  • README.md
  • Add a new section called 'Pretty-Printing Time' that explains how to use the new ._print() method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sweepAssigns Sweep to an issue or pull request.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions