commit | 6479eb81fdf6c952790e72f354fbb984a2f4fd6c | [log] [tgz] |
---|---|---|
author | Saša Živkov <sasa.zivkov@sap.com> | Fri Feb 21 13:00:54 2025 +0100 |
committer | Saša Živkov <sasa.zivkov@sap.com> | Mon Feb 24 10:30:34 2025 +0100 |
tree | 3b55bd03ef2a0bda309c0f9bb1a91c92f64a6e08 | |
parent | 653a49be41e85ed38661144fa64a7ae72f6df793 [diff] |
Replace the usage of java.util.Date with the java.time.* We shouldn't use java.util.Date any more, java.time.* is the modern date/time API. Unfortunately, the REST response format of this plugin didn't follow the format for timestamps as in the Gerrit core REST API. To keep the backward compatibility we now use String instead of Date in the MessageOfTheDayInfo and make sure to keep the old formatting. Change-Id: I4e8139e98db34402109aa9ae8258a6f74dc4d807