dateformatter

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package dateformatter provides utilities to get date time in different formats.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateFormatter

type DateFormatter struct {
	// contains filtered or unexported fields
}

DateFormatter provides utilities to get date time in different formats.

NOTE: DateFormatter processes the provided date time string in UTC format.

func New

func New(t time.Time) *DateFormatter

func (*DateFormatter) GetISOString

func (d *DateFormatter) GetISOString() (string, error)

GetISOString returns the date time in ISO 8601 format.

Jump to

Keyboard shortcuts

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