Skip to content

Utility Functions Reference

Reference for utility functions and helpers.


core.utils

format_date(date, format='short')

Formats dates consistently.

Parameters: - date - datetime object - format - 'short', 'long', or 'iso'

Returns: Formatted date string