humanize

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Humanize

func Humanize(t time.Time, relativeTo ...time.Time) string

Humanize convierte la diferencia temporal en una cadena legible en español ("hace 5 minutos", "en 2 horas").

func HumanizeEn

func HumanizeEn(t time.Time, relativeTo ...time.Time) string

HumanizeEn convierte la diferencia temporal en una cadena legible en inglés ("5 minutes ago", "in 2 hours").

Types

This section is empty.

Jump to

Keyboard shortcuts

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