Skip to content

Comments

chore(logger): serialize DateTime to ISO strings#41363

Open
jamietanna wants to merge 2 commits intomainfrom
chore/dt-logger
Open

chore(logger): serialize DateTime to ISO strings#41363
jamietanna wants to merge 2 commits intomainfrom
chore/dt-logger

Conversation

@jamietanna
Copy link
Contributor

@jamietanna jamietanna commented Feb 20, 2026

Changes

As an alternative to 2228a79, we can
instead serialize any DateTime objects that are present in our logging
fields.

Context

Please select one of the following:

  • This closes an existing Issue, Closes: #
  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests, but ran on a real repository, or
  • Both unit tests + ran on a real repository

The public repository:

DEBUG: latest repository commit (repository=JamieTanna-Mend-testing/renovate-iss-41260-gomod-bug-test)
       "latestCommit": {
         "hash": "fc47f18e463d1ce2e811e73b4f3e1c188bdbb3fe",
         "date": "2026-02-17T18:54:05+01:00",
         "message": "Update main.go",
         "refs": "HEAD -> master, origin/master, origin/HEAD",
         "body": "",
         "author_name": "Michael Walsh",
         "author_email": "59025052+walsm232@users.noreply.github.com"
       }

jamietanna and others added 2 commits February 20, 2026 18:10
As an alternative to 2228a79, we can
instead serialize any `DateTime` objects that are present in our logging
fields.

Co-authored-by: Claude Sonnet 4.5 <jamie.tanna+github-copilot@mend.io>
@jamietanna jamietanna requested a review from viceice February 20, 2026 18:12
@jamietanna jamietanna marked this pull request as ready for review February 20, 2026 18:12
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.

1 participant