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

When used on macOS, it works fine but the date command gives an error #9

Open
gtlsgamr opened this issue Oct 18, 2024 · 0 comments
Open

Comments

@gtlsgamr
Copy link
Owner

When used on macOS, it works fine but the date command gives an error

gtlsgamr added a commit that referenced this issue Oct 18, 2024
Related to #9

Update the `date` command in the `tt` script to be compatible with macOS.

* Modify the `date` command in the `tbackstart` function to use the `-v` option instead of `-d`.
* Modify the `date` command in the `tstart` function to use the `+%Y-%m-%d` format instead of `--iso`.
* Modify the `date` command in the `tdisp` function to use the `-j -f` options instead of `--date`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/gtlsgamr/tt/issues/9?shareId=XXXX-XXXX-XXXX-XXXX).
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

1 participant