Skip to content

System Wide Alerts should send countdown date to REST API in ISO-8601 format#4039

Merged
tdonohue merged 1 commit intoDSpace:mainfrom
tdonohue:date_fixes
Mar 11, 2025
Merged

System Wide Alerts should send countdown date to REST API in ISO-8601 format#4039
tdonohue merged 1 commit intoDSpace:mainfrom
tdonohue:date_fixes

Conversation

@tdonohue
Copy link
Member

References

Description

Currently, if you set a "countdown timer" on the System-Wide Alert page, the date is sent to the REST API in a non-standard format that looks like this: Thu, 14 Nov 2019 00:55:16 GMT

This format seems to work fine for the current codebase, but it cannot be parsed by the backend if you use PR DSpace/DSpace#10432

This small PR updates the date to be sent in ISO-8601 format, e.g. 2019-11-14T00:55:31.820Z, which is required by DSpace/DSpace#10432

Instructions for Reviewers

@tdonohue tdonohue added component: administrative tools Related to the admin menu or tools 1 APPROVAL pull request only requires a single approval to merge labels Feb 26, 2025
@tdonohue tdonohue moved this to 🙋 Needs Reviewers Assigned in DSpace 9.0 Release Feb 27, 2025
Copy link
Member Author

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appoved via testing of DSpace/DSpace#10432, see DSpace/DSpace#10432 (comment)

Merging immediately as DSpace/DSpace#10432 was just approved & merged.

@tdonohue tdonohue added this to the 9.0 milestone Mar 11, 2025
@tdonohue tdonohue merged commit 4b921a6 into DSpace:main Mar 11, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this from 🙋 Needs Reviewers Assigned to ✅ Done in DSpace 9.0 Release Mar 11, 2025
@tdonohue tdonohue deleted the date_fixes branch March 11, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 APPROVAL pull request only requires a single approval to merge component: administrative tools Related to the admin menu or tools

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant