Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szenius/set-timezone
GitHub action to set timezone in your locale, works with Linux, Windows, MacOS
https://github.com/szenius/set-timezone
action actions github-action github-actions timezone timezones
Last synced: 13 days ago
JSON representation
GitHub action to set timezone in your locale, works with Linux, Windows, MacOS
- Host: GitHub
- URL: https://github.com/szenius/set-timezone
- Owner: szenius
- License: mit
- Created: 2020-09-13T04:33:45.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-05T09:48:55.000Z (3 months ago)
- Last Synced: 2024-10-24T15:41:56.179Z (18 days ago)
- Topics: action, actions, github-action, github-actions, timezone, timezones
- Language: JavaScript
- Homepage:
- Size: 317 KB
- Stars: 101
- Watchers: 4
- Forks: 21
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - szenius/set-timezone - GitHub action to set timezone in your locale, works with Linux, Windows, MacOS (JavaScript)
README
# Set Timezone Action
![Test Action](https://github.com/szenius/set-timezone/workflows/.github/workflows/test_run_action.yml/badge.svg)
This action sets timezone in your runner's locale based on its OS.
## Inputs
| Input name | Description | Required ? | Default value |
| --------------- | ------------------------------------------------------------- | ---------- | ------------- |
| timezoneLinux | Timezone you want to set if your runner is running on Linux | false | `UTC` |
| timezoneWindows | Timezone you want to set if your runner is running on Windows | false | `UTC` |
| timezoneMacos | Timezone you want to set if your runner is running on MacOS | false | `GMT` |## Example usage
```yaml
uses: szenius/[email protected]
with:
timezoneLinux: "Asia/Singapore"
timezoneMacos: "Asia/Singapore"
timezoneWindows: "Singapore Standard Time"
```