Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE-REQUEST] Add epoch-human | human-epoch (Unix TimeStamps) #40

Open
Azathothas opened this issue Mar 11, 2024 · 1 comment
Open

Comments

@Azathothas
Copy link

Hi, thanks for this.

It would be nice to implement a unix/epoch TimeStamp to Human date encoder/decoder

An example:

# You can ofc choose better cli args than `epoch-human`echo "1710152465311" | sttr epoch-human
2024-03-11T10:21:05
#The format is %Y-%m-%dT%H:%M:%S but you could pick something more readable
@Azathothas Azathothas changed the title [FEATURE-REQUEST] Add epoch-human | human-epoch [FEATURE-REQUEST] Add epoch-human | human-epoch (Unix TimeStamps) Mar 11, 2024
@abhimanyu003
Copy link
Owner

Thanks so much for suggestion also glad to know that you liked the project.
Working with time is quite tricky as you have to work different format and timezones, I will surely try something over the weekend once confident I will release it.

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

No branches or pull requests

2 participants