* Date stream out fix 4.x-dev

Sun, 01 Nov 2020 20:45:20 +0200

author
cemkalyoncu
date
Sun, 01 Nov 2020 20:45:20 +0200
branch
4.x-dev
changeset 1481
00c4b8cec518
parent 1480
bec6420a79ce
child 1482
427bb870e024

* Date stream out fix

Source/Gorgon/Time.h file | annotate | diff | comparison | revisions
--- a/Source/Gorgon/Time.h	Sun Nov 01 19:50:13 2020 +0200
+++ b/Source/Gorgon/Time.h	Sun Nov 01 20:45:20 2020 +0200
@@ -226,11 +226,8 @@
 		
         /// Output stream operator overload 
         inline std::ostream &operator << (std::ostream &out, const Date &date) {
-            if(timezone)
-                out<<date.ISODateTime(timezone);
-            else
-                out<<date.ISODate();
-                    
+            out<<date.ISODateTime(true);
+            
             return out;
         }
         

mercurial