Skip to content

Changed pretty_date to handle empty input argument (#851)#856

Merged
bradchoate merged 1 commit intomasterfrom
robust-pretty-print
Oct 24, 2025
Merged

Changed pretty_date to handle empty input argument (#851)#856
bradchoate merged 1 commit intomasterfrom
robust-pretty-print

Conversation

@bradchoate
Copy link
Collaborator

  • Added an empty arg check to pretty_date. Should probably never happen, though was getting an fatal error for what should be a minor data quality issue.

  • Based on PR feedback removed default None value (function typically expects one). Renamed function parameter 'time' to avoid any clashes with time std module. Added created_at value to admin user in test database to avoid original issue.

* Added an empty arg check to pretty_date. Should probably never happen, though was getting an fatal error for what should be a minor data quality issue.

* Based on PR feedback removed default None value (function typically
expects one). Renamed function parameter 'time' to avoid any clashes
with time std module. Added created_at value to admin user in test
database to avoid original issue.
@bradchoate bradchoate merged commit 00b714d into master Oct 24, 2025
4 checks passed
@bradchoate bradchoate deleted the robust-pretty-print branch October 24, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants