Implement get_user_best and get_user_recent in peppyapi

This commit is contained in:
Howl
2016-05-28 20:24:39 +02:00
parent db323908ac
commit 6a374a4f9d
8 changed files with 129 additions and 5 deletions

View File

@@ -150,7 +150,7 @@ func scoresPuts(md common.MethodData, whereClause string, params ...interface{})
return Err500
}
// puck feppy
us.Time, err = time.Parse("060102150405", t)
us.Time, err = time.Parse(common.OsuTimeFormat, t)
if err != nil {
md.Err(err)
return Err500