func GetToFromTimespan(from string, to string) (chronolib.TimespanFilterOptions, error) {
	start := now.BeginningOfDay()
	end := now.EndOfDay()
	var err error
	if logTo != "" {
		start, err = ParseTime(logTo)
		if err != nil {
			fmt.Println("unable to parse time string")
			return chronolib.TimespanFilterOptions{}, err
		}
	}
	if logFrom != "" {
		end, err = ParseTime(logFrom)
		if err != nil {
			fmt.Println("unable to parse time string")
			return chronolib.TimespanFilterOptions{}, err
		}
	}
	return chronolib.TimespanFilterOptions{Start: start, End: end}, nil
}
GetToFromTimespan is a helper function that takes in two time formats and attempts to parse them
package commands
import (
	"fmt"
	"github.com/gochrono/chrono/chronolib"
	"github.com/jinzhu/now"
	"github.com/spf13/cobra"
	jww "github.com/spf13/jwalterweatherman"
	"os"
	"time"
)
var interval int
var logForDay string
var logForWeek string
var logForMonth string
var logForYear string
var logForAllTime bool
var logFrom string
var logTo string
var round bool
var logTags []string
var logProjects []string