[PR #1267] [MERGED] Clean up datetime output and code #2799

Closed
opened 2025-11-07 07:55:05 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/1267
Author: @jjlin
Created: 12/12/2020
Status: Merged
Merged: 12/14/2020
Merged by: @dani-garcia

Base: masterHead: datetime-cleanup


📝 Commits (1)

  • 455a233 Clean up datetime output and code

📊 Changes

4 files changed (+42 additions, -29 deletions)

View changed files

📝 src/api/admin.rs (+5 -4)
📝 src/mail.rs (+3 -19)
📝 src/static/templates/admin/diagnostics.hbs (+2 -2)
📝 src/util.rs (+32 -4)

📄 Description

  • For clarity, add UTC suffix for datetimes in the Diagnostics admin tab.
  • Format datetimes in the local timezone in the Users admin tab.
  • Refactor some datetime code and add doc comments.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/1267 **Author:** [@jjlin](https://github.com/jjlin) **Created:** 12/12/2020 **Status:** ✅ Merged **Merged:** 12/14/2020 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `master` ← **Head:** `datetime-cleanup` --- ### 📝 Commits (1) - [`455a233`](https://github.com/dani-garcia/vaultwarden/commit/455a23361f9071b7c16048ce320ecfc26adccc2d) Clean up datetime output and code ### 📊 Changes **4 files changed** (+42 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `src/api/admin.rs` (+5 -4) 📝 `src/mail.rs` (+3 -19) 📝 `src/static/templates/admin/diagnostics.hbs` (+2 -2) 📝 `src/util.rs` (+32 -4) </details> ### 📄 Description * For clarity, add `UTC` suffix for datetimes in the `Diagnostics` admin tab. * Format datetimes in the local timezone in the `Users` admin tab. * Refactor some datetime code and add doc comments. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-07 07:55:05 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#2799