Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/repejota/timeago
Go package for time formatting based on current time (eg: "3 hours ago" or "1 day ago")
https://github.com/repejota/timeago
formatter go time timeago
Last synced: about 4 hours ago
JSON representation
Go package for time formatting based on current time (eg: "3 hours ago" or "1 day ago")
- Host: GitHub
- URL: https://github.com/repejota/timeago
- Owner: repejota
- License: apache-2.0
- Created: 2015-10-03T20:40:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-26T17:02:28.000Z (over 6 years ago)
- Last Synced: 2024-06-20T02:12:05.639Z (5 months ago)
- Topics: formatter, go, time, timeago
- Language: Go
- Homepage: https://godoc.org/github.com/repejota/timeago
- Size: 38.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# timeago
Go package for time formatting based on current time (eg: "3 hours ago" or "1
day ago").Godoc reference: [github.com/repejota/timeago](https://godoc.org/github.com/repejota/timeago)
## Badges
[![License][License-Image]][License-Url]
[![CircleCI](https://circleci.com/gh/repejota/timeago.svg?style=svg)](https://circleci.com/gh/repejota/timeago)
[![Coverage Status](https://coveralls.io/repos/github/repejota/timeago/badge.svg?branch=master)](https://coveralls.io/github/repejota/timeago?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/repejota/timeago)](https://goreportcard.com/report/github.com/repejota/timeago)## License
Copyright (c) 2018 Raül Pérez, [email protected].
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.[License-Url]: http://opensource.org/licenses/Apache
[License-Image]: https://img.shields.io/badge/License-Apache-blue.svg