Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nezorflame/tsconvert
Converts timestamp to human-readable form and vice versa
https://github.com/nezorflame/tsconvert
Last synced: about 1 month ago
JSON representation
Converts timestamp to human-readable form and vice versa
- Host: GitHub
- URL: https://github.com/nezorflame/tsconvert
- Owner: nezorflame
- License: mit
- Created: 2019-05-13T12:56:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-13T21:53:46.000Z (10 months ago)
- Last Synced: 2024-10-09T13:19:49.813Z (3 months ago)
- Language: Go
- Size: 134 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tsconvert [![go](https://github.com/nezorflame/tsconvert/actions/workflows/go.yml/badge.svg)]() [![golangci-lint](https://github.com/nezorflame/tsconvert/actions/workflows/golangci-lint.yml/badge.svg)]() [![Go Report Card](https://goreportcard.com/badge/github.com/nezorflame/tsconvert)]()
Converts Unix timestamp to human-readable form and vice versa.
## Installation
This project uses Go modules.
To install it, just use `go install`:`go install github.com/nezorflame/tsconvert@latest`
## Usage
```text
-f string
Format of the time (default "time.RFC3339")
-l string
Location of the time (default "UTC")
-local
Use current user location
-utc
Use UTC location
```