Documentation ¶
Index ¶
- Variables
- func DefaultTimeToDaysFormat(t time.Time) string
- func DefaultTimestampToDaysFormat(ts int64) string
- func MaxTimeToDaysFormat(t time.Time) string
- func MaxTimestampToDaysFormat(ts int64) string
- func MinTimeToDaysFormat(t time.Time) string
- func MinTimestampToDaysFormat(ts int64) string
- func SetBoth()
- func SetDefault()
- func SetUTC()
- func UTCTimeToDaysFormat(t time.Time) string
- func UTCTimestampToDaysFormat(timestamp int64) string
Constants ¶
This section is empty.
Variables ¶
var FromTimeToDaysFormat func(time.Time) string
var FromTimestampToDaysFormat func(int64) string
var UntilTimeToDaysFormat func(time.Time) string
var UntilTimestampToDaysFormat func(int64) string
Functions ¶
func DefaultTimeToDaysFormat ¶
from carbon-clickhouse, port of SlowTimestampToDays, broken symmetic, not always UTC
func DefaultTimestampToDaysFormat ¶
from carbon-clickhouse, port of SlowTimestampToDays, broken symmetic, not always UTC
func MaxTimeToDaysFormat ¶
MaxTimeToDaysFormat return formatted maximum (local, UTC) date
func MaxTimestampToDaysFormat ¶
MaxTimestampToDaysFormat return formatted maximum (local, UTC) date
func MinTimeToDaysFormat ¶
MinTimeToDaysFormat return formatted minimum (local, UTC) date
func MinTimestampToDaysFormat ¶
MinTimestampToDaysFormat return formatted minimum (local, UTC) date
func SetBoth ¶
func SetBoth()
SetBoth() is for mixed SlowTimestampToDays/UTCTimestampToDays (before rebuild tables complete)
func SetDefault ¶
func SetDefault()
SetDefault() is for broken SlowTimestampToDays in carbon-clickhouse
func SetUTC ¶
func SetUTC()
SetUTC() is for UTCTimestampToDays in carbon-clickhouse (see https://github.com/go-graphite/carbon-clickhouse/pull/114)
func UTCTimeToDaysFormat ¶
Types ¶
This section is empty.