Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 7952)
+++ trunk/MagicSoft/Mars/Changelog	(revision 7953)
@@ -22,4 +22,8 @@
    * msql/MSQLMagic.cc:
      - replaced DELETE by DELETE FROM
+
+   * mbase/MTime.h:
+     - if name is given in the constructor it is tried to use
+       it as SqlDateTime.
 
 
Index: trunk/MagicSoft/Mars/mbase/MTime.h
===================================================================
--- trunk/MagicSoft/Mars/mbase/MTime.h	(revision 7952)
+++ trunk/MagicSoft/Mars/mbase/MTime.h	(revision 7953)
@@ -55,4 +55,6 @@
         Init(name, title);
         Clear();
+
+        SetSqlDateTime(name);
     }
     MTime(const struct timeval &tm)
