Skip to content

Conversation

@vi
Copy link
Owner

@vi vi commented Mar 27, 2018

I'm not sure if it's any good.

Although it looks more right (and less verbose and easier than ands), a list of timeagos would look less nice. Maybe better to keep punctuation away?

/* Actually this pull request is created just to test Travis setup */

9999years added a commit to 9999years/timeago that referenced this pull request Aug 28, 2025
These methods make it possible to customize the whitespace in the output.
This enables additional punctuation (like the commas proposed in
vi#11) and abbreviated output formats
(often desired in command-line applications, like `1h 30m 15s`).
9999years added a commit to 9999years/timeago that referenced this pull request Aug 28, 2025
These methods make it possible to customize the whitespace in the output.
This enables additional punctuation (like the commas proposed in
vi#11) and abbreviated output formats
(often desired in command-line applications, like `1h 30m 15s`).

The default implementations encode the previous behavior; therefore, no
change is made to the observed behavior of the library.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants