Browse Source

Fix datetime field

Vova Tkach 6 years ago
parent
commit
f642701b20
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/module_index.go

+ 1 - 1
modules/module_index.go

@@ -576,7 +576,7 @@ func (this *Modules) RegisterAction_IndexFirstUser() *Action {
 			"Home",
 			"/",
 			"Hello World from Fave CMS!",
-			utils.GetCurrentUnixTimestamp(),
+			utils.UnixTimestampToMySqlDateTime(utils.GetCurrentUnixTimestamp()),
 			1,
 		)
 		if err != nil {