1
0
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:
Chris Cummer
2018-04-04 08:58:17 -07:00
committed by Chris Cummer
parent b91e1be8df
commit b58c0ea212
5 changed files with 25 additions and 13 deletions

View File

@@ -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")
}