Skip to content

Update Time extension to use Scratch.Cast.* APIs #1995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

PPPDUD
Copy link
Contributor

@PPPDUD PPPDUD commented Mar 1, 2025

In the formatTime() function linked to the format [VALUE] seconds as [ROUND] time block, I rewrote parts of the code to use the Scratch.Cast.* API.

I believe that this update should make the Time extension compliant with the standards set out by #1810.

This was tested in the stable release of the TurboWarp website with sandboxing and seemingly functioned as before.

@github-actions github-actions bot added the pr: change existing extension Pull requests that change an existing extension label Mar 1, 2025
@GarboMuffin
Copy link
Member

#1990 (review)

@GarboMuffin GarboMuffin closed this Mar 1, 2025
@PPPDUD
Copy link
Contributor Author

PPPDUD commented Mar 1, 2025

#1990 (review)

Sorry about that. I probably should have read that PR.
Thanks for pointing that out!

@PPPDUD PPPDUD deleted the patch-3 branch March 1, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: change existing extension Pull requests that change an existing extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants