Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SerhiiCho/timeago

Fast, multilingual, and lightweight datetime package that converts given datetime into "n time ago" format
https://github.com/SerhiiCho/timeago

datetime datetime-converter datetime-formatters go go-package golang time timeago timeago-go

Last synced: 29 days ago
JSON representation

Fast, multilingual, and lightweight datetime package that converts given datetime into "n time ago" format

Awesome Lists containing this project

README

        

![golang](https://serhii.io/storage/other/timeago.png)

[![Go](https://github.com/SerhiiCho/timeago/actions/workflows/go.yml/badge.svg)](https://github.com/SerhiiCho/timeago/actions/workflows/go.yml)
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FSerhiiCho%2Ftimeago%2Fbadge%3Fref%3Dmain&style=flat)](https://actions-badge.atrox.dev/SerhiiCho/timeago/goto?ref=main)
[![Build Status](https://scrutinizer-ci.com/g/SerhiiCho/timeago/badges/build.png?b=main)](https://scrutinizer-ci.com/g/SerhiiCho/timeago/build-status/main)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/SerhiiCho/timeago/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/SerhiiCho/timeago/?branch=main)
[![GitHub](https://img.shields.io/github/license/SerhiiCho/timeago)](https://github.com/SerhiiCho/timeago/blob/main/LICENSE.md)

Timeago is a fast and lightweight date time package that converts given date into human readable "n time ago" format in different languages, such as πŸ‡·πŸ‡Ί πŸ‡¬πŸ‡§ πŸ‡³πŸ‡± πŸ‡ΊπŸ‡¦ πŸ‡©πŸ‡ͺ. For more information you can read the [documentation](https://time-ago.github.io/).

### Follow the [Official documentation](https://time-ago.github.io/) for all the details

- [πŸ—’ Documentation](https://time-ago.github.io/)
- [πŸ—’ Release notes](https://github.com/SerhiiCho/timeago/blob/main/CHANGELOG.md)

## πŸš€ Quick Start

```bash
go get github.com/SerhiiCho/timeago/v2
```

## πŸ“„ License

This project is open-sourced software licensed under the [MIT license](https://github.com/SerhiiCho/timeago/blob/main/LICENSE.md).