forked from vieter-v/vieter
fix(server): publish build log now uses epoch value for dates
This commit is contained in:
parent
7ad5830e9f
commit
e734e658a0
2 changed files with 10 additions and 4 deletions
|
|
@ -42,8 +42,8 @@ pub fn (c &Client) get_build_log_content(id int) ?string {
|
|||
pub fn (c &Client) add_build_log(repo_id int, start_time time.Time, end_time time.Time, arch string, exit_code int, content string) ?Response<string> {
|
||||
params := {
|
||||
'repo': repo_id.str()
|
||||
'startTime': start_time.str()
|
||||
'endTime': end_time.str()
|
||||
'startTime': start_time.unix_time().str()
|
||||
'endTime': end_time.unix_time().str()
|
||||
'arch': arch
|
||||
'exitCode': exit_code.str()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue