mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 09:15:34 +08:00
Fixed year formatter / formatting
This commit is contained in:
@@ -39,7 +39,7 @@ namespace BlackCore
|
|||||||
//! Destructor
|
//! Destructor
|
||||||
virtual ~CThreadedReader();
|
virtual ~CThreadedReader();
|
||||||
|
|
||||||
//! Thread safe, set update timestamp
|
//! Thread safe, get update timestamp
|
||||||
//! \threadsafe
|
//! \threadsafe
|
||||||
QDateTime getUpdateTimestamp() const;
|
QDateTime getUpdateTimestamp() const;
|
||||||
|
|
||||||
|
|||||||
@@ -102,8 +102,8 @@ namespace BlackMisc
|
|||||||
r.append(station.propertyByIndex({ CAtcStation::IndexPosition, CCoordinateGeodetic::IndexLatitudeAsString}).toQString());
|
r.append(station.propertyByIndex({ CAtcStation::IndexPosition, CCoordinateGeodetic::IndexLatitudeAsString}).toQString());
|
||||||
r.append(station.propertyByIndex({ CAtcStation::IndexPosition, CCoordinateGeodetic::IndexLongitudeAsString}).toQString());
|
r.append(station.propertyByIndex({ CAtcStation::IndexPosition, CCoordinateGeodetic::IndexLongitudeAsString}).toQString());
|
||||||
r.append(station.propertyByIndex({ CAtcStation::IndexRelativeDistance, CLength::IndexValueRounded2DigitsWithUnit}).toQString());
|
r.append(station.propertyByIndex({ CAtcStation::IndexRelativeDistance, CLength::IndexValueRounded2DigitsWithUnit}).toQString());
|
||||||
r.append(station.propertyByIndex({ CAtcStation::IndexBookedFrom}).toDateTime().toString("YYYY-mm-dd hh:mm"));
|
r.append(station.propertyByIndex({ CAtcStation::IndexBookedFrom}).toDateTime().toString("yyyy-MM-dd hh:mm"));
|
||||||
r.append(station.propertyByIndex({ CAtcStation::IndexBookedUntil}).toDateTime().toString("YYYY-mm-dd hh:mm"));
|
r.append(station.propertyByIndex({ CAtcStation::IndexBookedUntil}).toDateTime().toString("yyyy-MM-dd hh:mm"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -112,8 +112,8 @@ namespace BlackMisc
|
|||||||
r.append(station.getPosition().latitudeAsString());
|
r.append(station.getPosition().latitudeAsString());
|
||||||
r.append(station.getPosition().longitudeAsString());
|
r.append(station.getPosition().longitudeAsString());
|
||||||
r.append(station.getRelativeDistance().toQString(true));
|
r.append(station.getRelativeDistance().toQString(true));
|
||||||
r.append(station.getBookedFromUtc().toString("YYYY-mm-dd hh:mm"));
|
r.append(station.getBookedFromUtc().toString("yyyy-MM-dd hh:mm"));
|
||||||
r.append(station.getBookedUntilUtc().toString("YYYY-mm-dd hh:mm"));
|
r.append(station.getBookedUntilUtc().toString("yyyy-MM-dd hh:mm"));
|
||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user