Edit of asset "Graphite" Accepted

Old/Current New/Edit
Title Graphite
Description 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.
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.
Category Scripts
License MIT
Repository Provider GitHub
Repository Url https://github.com/elijahcruz12/Graphite
Issues Url https://github.com/elijahcruz12/Graphite/issues
Godot version Godot 4.1
Version String 0.1.0 0.1.0
Download Commit d7387814d82fed58ee56c9072505281e14181144 d7387814d82fed58ee56c9072505281e14181144
Download Url (Computed) https://github.com/elijahcruz12/Graphite/archive/d7387814d82fed58ee56c9072505281e14181144.zip https://github.com/elijahcruz12/Graphite/archive/d7387814d82fed58ee56c9072505281e14181144.zip
Icon Url https://raw.githubusercontent.com/elijahcruz12/Graphite/main/logo.png