yyyymmdd

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prefixes

func Prefixes(start, end time.Time) []string

Given two time.Time values generate a start and end prefix (in yyyy-mm-dd format) which serves as prefixs usable to filter.

Examples:

2023-12-23 to 2023-12-31 produces 2023-12-2, 2023-12-3
2023-12-23 to 2024-01-10 produces 2023-12-2, 2023-12-3, 2024-01-0, 2024-01-10

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL