mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-05 08:10:21 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user