Lowercased time transfer command string to "allow uppercase" time units as well. #1085

Merged
EchoOfNothing merged 1 commit from QuillTheCreature/Byrd:systems/timetransfer/allowuppercaseletters into master 2026-10-24 12:24:37 +00:00
Member

Short description

Allowed "uppercase" time units in the time transfer panel being properly parsed.

Why we need to add this

Some admins cough messed up by writing for example "10H 20M" into the time transfer panel which didn't work and gave that player 0 minutes in that role.

This fixes it by just lowercasing the time units string.

Checklist

Ingame Changelog

🆑 Quill
ADMIN:

  • tweak: Time transfers with uppercase time units are now supported. Now you can write "10H 20M" and it'll work.
<!-- Link definitions, do not edit --> [guidelines]: https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html [ruleset]: https://rules.byrdstation.space/#h.vigrxrnffwji ## Short description Allowed "uppercase" time units in the time transfer panel being properly parsed. ## Why we need to add this Some admins *cough* messed up by writing for example "10H 20M" into the time transfer panel which didn't work and gave that player 0 minutes in that role. This fixes it by just lowercasing the time units string. ## Checklist <!-- Check boxes for faster reviewing of your PR --> - [x] I do not require assistance to complete the PR. - [x] I have verified that the changes work before posting/requesting review of my PR. - [x] I have added screenshots/videos of the changes, or this PR does not change in-game mechanics. - [x] I have read the [Pull Request and Changelog Guidelines][guidelines] and [Byrd Station's Contributor Ruleset][ruleset]. ### Ingame Changelog :cl: Quill *ADMIN:* - tweak: Time transfers with uppercase time units are now supported. Now you can write "10H 20M" and it'll work.
Lowercased time transfer command string to "allow uppercase" time units as well.
Some checks failed
Close PRs on master / run (pull_request_target) Has been skipped
Labels: PR / labeler (pull_request_target) Successful in 48s
Labels: Size / size-label (pull_request_target) Failing after 4s
CRLF Check / CRLF Check (pull_request) Successful in 40s
Test Packaging / Test Packaging (pull_request) Successful in 15m43s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 48s
RSI Validator / Validate RSIs (pull_request) Successful in 51s
Map file schema validator / YAML map schema validator (pull_request) Successful in 6m45s
YAML Linter / YAML Linter (pull_request) Successful in 5m33s
PR Changelogs / changelog (pull_request_target) Successful in 59s
3f031448fd
Owner

I think this change could use a change log entry in the *ADMIN:* category.

I think this change could use a change log entry in the `*ADMIN:*` category.
Author
Member

@EchoOfNothing wrote in #1085 (comment):

I think this change could use a change log entry in the *ADMIN:* category.

Alright, I did not know those work here, done.

@EchoOfNothing wrote in https://git.byrdstation.space/Byrd-Station/Byrd/pulls/1085#issuecomment-9604: > I think this change could use a change log entry in the `*ADMIN:*` category. Alright, I did not know those work here, done.
EchoOfNothing left a comment

LGTM. Thank you for your contribution!

LGTM. Thank you for your contribution!
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
Byrd-Station/Byrd!1085
No description provided.