Fix time stamp for build

This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-07-29 11:55:23 +02:00
1 parent 9bb27caa07
commit af58c8c580
3 files changed
+15 -3

No files matched your search

@@ -37,4 +37,6 @@
#define RESINSIGHT_GIT_HASH "@RESINSIGHT_GIT_HASH@"
#define RESINSIGHT_BUILD_SYSTEM_ID "@RESINSIGHT_BUILD_SYSTEM_ID@"
#define RESINSIGHT_BUILD_SYSTEM_ID "@RESINSIGHT_BUILD_SYSTEM_ID@"
#define RESINSIGHT_BUILD_DATE "@RESINSIGHT_BUILD_DATE@"
@@ -172,8 +172,8 @@ void RicHelpAboutFeature::onActionTriggered( bool isChecked )
}
dlg.addVersionEntry( " ", "" );
QString nowDate = QDateTime::currentDateTime().toString( "yyyy-MMM-dd" );
dlg.addVersionEntry( "", QString( "Build date: " ) + nowDate );
QString buildDate = RESINSIGHT_BUILD_DATE;
dlg.addVersionEntry( "", QString( "Build date: " ) + buildDate );
dlg.addVersionEntry( "", "SHA " + QString( RESINSIGHT_GIT_HASH ) );
dlg.create();