Skip to content

Add unix-timestamp-converter extension #18949

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions extensions/unix-timestamp-converter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift

# misc
.DS_Store
4 changes: 4 additions & 0 deletions extensions/unix-timestamp-converter/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
10 changes: 10 additions & 0 deletions extensions/unix-timestamp-converter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Unix Timestamp Converter Changelog

## [Initial Release] - {PR_MERGE_DATE}

- Initial release
- Added conversion from Unix timestamps to local date and time for multiple countries
- Added generation of Unix timestamps from human-readable date and time, considering the selected country's timezone
- Supported timezones: Japan, USA (New York/Los Angeles), Korea, Thailand
- Supported multiple display formats: Japanese, Korean, Thai, ISO, US
- One-click copy to clipboard for conversion results
28 changes: 28 additions & 0 deletions extensions/unix-timestamp-converter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Unix Timestamp Converter

A Raycast extension to convert between Unix timestamps and human-readable date and time formats.
Supports multiple time zones and display formats, including Japan, United States, Korea, and Thailand.

## Features

- Convert Unix timestamps to local date and time for various countries
- Generate Unix timestamps from human-readable date and time
- Time zone support: Japan, United States (New York/Los Angeles), Korea, Thailand
- Multiple display formats: Japanese, Korean, Thai, ISO, US
- One-click copy to clipboard for conversion results

## Usage

### 1. Convert Timestamp

- Enter a Unix timestamp, select a country and display format to convert it to the local date and time of the selected country.
- Click "Convert & Copy" to copy the result to the clipboard.

### 2. Generate Timestamp

- Enter year, month, day, hour, minute, second, and select a country (time zone). The extension will generate a Unix timestamp as if the entered date and time are in the selected country's local time.
Example: If you select "Japan", the input is treated as Japan Standard Time (UTC+9).
- Click "Convert & Copy" to copy the Unix timestamp to the clipboard.


Install from the Raycast Store and enjoy quick timestamp conversions!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions extensions/unix-timestamp-converter/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const { defineConfig } = require("eslint/config");
const raycastConfig = require("@raycast/eslint-config");

module.exports = defineConfig([
...raycastConfig,
]);
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading