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

Allow [convert-date] to display in UTC #143

Merged
merged 1 commit into from Jul 9, 2023
Merged

Commits on Jul 8, 2023

  1. Allow [convert-date] to display in UTC

    * New "gmt" flag, to be consistent with flag in [time], that allows output to
      display the UTC of the input timestamp, or of current time absent an input
      timestamp. Tag assumes all timestamp input comes from the local timezone.
    
    * Ex:
      [convert-date fmt="%FT%T %Z"]2023-07-04 22:53:18[/convert-date]
        -> displays 2023-07-04T22:53:18 EDT
      [convert-date gmt=1 fmt="%FT%T UTC"]2023-07-04 22:53:18[/convert-date]
        -> displays 2023-07-05T02:53:18 UTC
    msjohns1 committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    ca63e06 View commit details
    Browse the repository at this point in the history