diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-27 21:22:40 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-27 21:22:40 +0100 |
commit | 1aa8e91d158c105d69f5ebae2b7fb9efc4478c57 (patch) | |
tree | 6543c9905ff87d12fcd2059e05f98c1491ab966c /core/config/engine.cpp | |
parent | f5dbbf7fd067bbb435989a6839fe37e03e4ba057 (diff) | |
parent | 67e9ccdbc4909b975099ea73fc5ca92a28ce1e6a (diff) | |
download | redot-engine-1aa8e91d158c105d69f5ebae2b7fb9efc4478c57.tar.gz |
Merge pull request #59247 from Calinou/editor-display-build-date
Display the build date in the editor and when starting the engine
Diffstat (limited to 'core/config/engine.cpp')
-rw-r--r-- | core/config/engine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/config/engine.cpp b/core/config/engine.cpp index 2bb8837849..d714ec42c2 100644 --- a/core/config/engine.cpp +++ b/core/config/engine.cpp @@ -114,6 +114,8 @@ Dictionary Engine::get_version_info() const { String hash = String(VERSION_HASH); dict["hash"] = hash.is_empty() ? String("unknown") : hash; + dict["timestamp"] = VERSION_TIMESTAMP; + String stringver = String(dict["major"]) + "." + String(dict["minor"]); if ((int)dict["patch"] != 0) { stringver += "." + String(dict["patch"]); |