mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Url added to BambooHR config
This commit is contained in:
committed by
Chris Cummer
parent
b91e1be8df
commit
b58c0ea212
@@ -4,6 +4,7 @@ import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os/exec"
|
||||
"time"
|
||||
)
|
||||
|
||||
func CenterText(str string, width int) string {
|
||||
@@ -29,3 +30,8 @@ func ExecuteCommand(cmd *exec.Cmd) string {
|
||||
|
||||
return str
|
||||
}
|
||||
|
||||
func Today() string {
|
||||
localNow := time.Now().Local()
|
||||
return localNow.Format("2006-01-02")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user