GDevelopApp / GDevelop-extensions

Repository of behaviors, actions, conditions and expressions to be used in GDevelop for creating games
https://gdevelop.io
MIT License
129 stars 51 forks source link

Updated extension: TimeFormatter #1330

Open Jurfix opened 3 months ago

Jurfix commented 3 months ago

Description

I have added two new functions to the extension, TimestampToLocalDate - converts a timestamp to a local date, and TimestampToLocalTime - converts a timestamp to a local time. I've also updated the short description and description a bit, added a few new tags, and updated the extension version from 0.0.2 to 0.1.0.

How to use the extension

Add a text change event and set the text value to "Сurrent date: " + TimeFormatter::TimestampToLocalDate(Time("timestamp")) + " | Сurrent time: " + TimeFormatter::TimestampToLocalTime(Time("timestamp"))

Checklist

What tier of review do you aim for your extension?

Reviewed

Example file

ExampleUpdateTimeFormatter.zip

Extension file

UpdateTimeFormatterExtension.zip

github-actions[bot] commented 3 months ago

👋 Thanks for your submission! We are sorry, but it seems we already have a reviewed extension with that name. Extensions cannot be in both the community and reviewed extensions list at once. If you are trying to update that extension, please ask a member of the extension team for help. If the name clash is a coincidence, please update your original submission post with a new zip file containing your extension with a file name that is not already taken 🙏