Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / Date / Date.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 5 deletions
-rw-r--r--src/Generic/Date/Date.cpp6
diff --git a/src/Generic/Date/Date.cpp b/src/Generic/Date/Date.cpp
index b20de51..db2551a 100644
--- a/src/Generic/Date/Date.cpp
+++ b/src/Generic/Date/Date.cpp
@@ -71,12 +71,8 @@ int digitToChar(unsigned digit) {
}
String Date::createCStr() {
- unsigned d = day, m = month, y = year;
String out;
- if (d > 10) {
- d
- }
- (out += itoa(day));// << "." << dt.get_month() << "." << dt.get_year();
+ return ((((out += day) += ".") += month) += ".") += year;
}
void Date::read(std::istream& istr) {