refactor: remove unneeded date formatting
Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
parent
a916da8f15
commit
585c94b97a
@ -267,10 +267,7 @@ func (c *Client) GetLatestPoolsDBExportDataAsBytes() (string, []byte, error) {
|
|||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
currentDate, err := time.Parse("2006-04-02", time.Now().Format("2006-01-02"))
|
currentDate := time.Now()
|
||||||
if err != nil {
|
|
||||||
return "", nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
duration := math.MaxFloat64
|
duration := math.MaxFloat64
|
||||||
var fileName string
|
var fileName string
|
||||||
|
Reference in New Issue
Block a user