diff options
Diffstat (limited to 'tests/glibmm_date/main.cc')
-rw-r--r-- | tests/glibmm_date/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/glibmm_date/main.cc b/tests/glibmm_date/main.cc index 1e6411d7..e92559ce 100644 --- a/tests/glibmm_date/main.cc +++ b/tests/glibmm_date/main.cc @@ -17,7 +17,7 @@ main(int, char**) date.subtract_days(1); date.add_years(1); - ostr << "The date a year and a month from yesterday will be: " << date.get_month() << "/" + ostr << "The date a year and a month from yesterday will be: " << date.get_month_as_int() << "/" << (int)date.get_day() << "/" << date.get_year() << "." << std::endl; Glib::Date copy_date(date); @@ -25,7 +25,7 @@ main(int, char**) assigned_date = copy_date; - ostr << "The copied date is: " << copy_date.get_month() << "/" << (int)copy_date.get_day() << "/" + ostr << "The copied date is: " << copy_date.get_month_as_int() << "/" << (int)copy_date.get_day() << "/" << copy_date.get_year() << "." << std::endl; return EXIT_SUCCESS; |