2021-08-11 Fred Gleason <fredg@paravelsystems.com>

* Added an 'RDDateEdit' widget.
	* Adjusted layout in the 'Test Import' dialog in rdadmin(1)
	to be compatible with short date format.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-08-11 17:19:36 -04:00
parent 5f75b9c9c3
commit 7adc95d383
9 changed files with 87 additions and 4 deletions

View File

@@ -330,12 +330,24 @@ bool RDCoreApplication::showTwelveHourTime() const
}
QString RDCoreApplication::longDateFormat() const
{
return app_long_date_format;
}
QString RDCoreApplication::longDateString(const QDate &date) const
{
return date.toString(app_long_date_format);
}
QString RDCoreApplication::shortDateFormat() const
{
return app_short_date_format;
}
QString RDCoreApplication::shortDateString(const QDate &date) const
{
return date.toString(app_short_date_format);