[PR #910] [MERGED] response: marshal zero time as empty string #1026

Closed
opened 2026-03-03 12:32:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fsouza/fake-gcs-server/pull/910
Author: @fsouza
Created: 9/2/2022
Status: Merged
Merged: 9/2/2022
Merged by: @fsouza

Base: mainHead: fix-time.Time-empty


📝 Commits (2)

  • 06a59ac response: marshal zero time as empty string
  • 8d879ab Use formatTime in bucket.TimeCreated too

📊 Changes

1 file changed (+16 additions, -5 deletions)

View changed files

📝 fakestorage/response.go (+16 -5)

📄 Description

Fixes #416.


🔄 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/fsouza/fake-gcs-server/pull/910 **Author:** [@fsouza](https://github.com/fsouza) **Created:** 9/2/2022 **Status:** ✅ Merged **Merged:** 9/2/2022 **Merged by:** [@fsouza](https://github.com/fsouza) **Base:** `main` ← **Head:** `fix-time.Time-empty` --- ### 📝 Commits (2) - [`06a59ac`](https://github.com/fsouza/fake-gcs-server/commit/06a59acc48c5dc6c3503ea04a201f34ff9bbea48) response: marshal zero time as empty string - [`8d879ab`](https://github.com/fsouza/fake-gcs-server/commit/8d879abd81e6a833ea365d74d39eecebb1f6cdd5) Use formatTime in bucket.TimeCreated too ### 📊 Changes **1 file changed** (+16 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `fakestorage/response.go` (+16 -5) </details> ### 📄 Description Fixes #416. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 12:32:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#1026
No description provided.