
Graphite 0.1.0 Scripts 4.1 Community
Submitted by user theecgaming; MIT; 2025-08-13
A simple GDScript plugin for DateTime. Inspired by Carbon, built for Godot.
Currently a work-in-progress, but is nearly finished.
Allows you to chain methods! Is fast (thanks to it only using a single object), and is efficient. You also don't have to call new() for it.
Example:
# Would add 5 seconds, set it to the 3rd day of the month, and return a cookie datetime string!
Graphite.now().addSeconds(5)->setUnit("day", 3)->toCookieString()
With Graphite, I'm hoping to ready at least 80% full parity with Carbon. As I'm normally a PHP developer, having something like this in Godot makes my life 1000x easier.
View files Download Submit an issue Recent Edits