Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/tuPublic

CLI tool to convert a natural language date/time string to UTC

License

NotificationsYou must be signed in to change notification settings

ad-si/tu

Repository files navigation

CLI tool to convert a natural language date/timetoUTC.

Installation

cargo install tu

Usage

Usage: tu <natural time/duration>Examples:  tu today      -> 2024-03-16T12:56:41.905455Z  tu tomorrow   -> 2024-03-17T12:56:41.905455Z  tu 2 day      -> 2024-03-18T12:56:41.905455Z  tu 9 week     -> 2024-05-18T12:56:41.905455Z  tu 1 month    -> 2024-04-16T00:00:00Z  tu 2024-04-10T13:31:46+04:00     -> 2024-04-10T09:31:46Z  tu Wed, 14 Feb 2024 23:16:09 GMT -> 2024-02-14T23:16:09Z

This is especially useful in combination with other tools likeTaskLite:

# Bashtasklite add"Buy bike" due:$(tu 2 week)
# Fishtasklite add"Buy bike" due:(tu 2 week)

Related

  • biff - CLI tool for datetime arithmetic, parsing, formatting, etc.
  • dateutils - CLI date and time utilities for calculations and conversions
  • fuzzy-time - Haskell package for parsing fuzzy time strings.
  • utcify.ad-si.com - Web tool to convert local-time strings to UTC.
  • uutilsdate - Print or set the system date and time.
  • when - Timezone CLI tool.

About

CLI tool to convert a natural language date/time string to UTC

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp