GDevelop-extensions
GDevelop-extensions copied to clipboard
Merge #402 with 0.0.1 of Time formatting extension
Merge https://github.com/GDevelopApp/GDevelop-extensions/pull/402 with 0.0.1 of Time formatting extension
@D8H as you suggested in https://github.com/GDevelopApp/GDevelop-extensions/pull/402#issuecomment-1107455596
It would probably better to wrap DateTimeFormat
. It is much more flexible (localization and verbosity options).
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
The extension should probably allow to format any date and not just current one.