godot/core/bind
Rémi Verschelde 2c99306e20
OS: Better validation of invalid input for get_unix_time_from_datetime
Default missing keys to Unix time 0 (1970-01-01 at 00:00:00 UTC).
Abort if year <= 0, this is not supported by the current algorithm.

Prevents an infinite loop further down.

Fixes #49022.

(cherry picked from commit 62efa30ed2)
2021-05-24 13:39:13 +02:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
core_bind.cpp OS: Better validation of invalid input for get_unix_time_from_datetime 2021-05-24 13:39:13 +02:00
core_bind.h Expose set_environment to GDScript 2021-02-25 22:07:38 +11:00