A scheduling message generator for international teams.
Select dates and time slots, add timezones, and copy a ready-to-send message — no sign-up, no server, no build step.
🌐 Live: https://masarusz.github.io/TimeBridge
- Calendar date picker — click to select one or more dates; Japanese public holidays highlighted in red with name tooltip (Japanese and English); Today button jumps back to the current month
- Flexible time slots — Morning / Afternoon / All Day presets (customisable) plus unlimited custom time ranges
- Multi-timezone support — presets for Japan, India, UK, US Eastern, US Central, US Pacific; 38 additional zones available
- DST-aware — all timezone conversions use IANA timezone data via the browser's native
IntlAPI; daylight saving time is handled automatically for every date - Smart output — single-timezone mode shows clean minimal text; multi-timezone mode adds inline conversions ordered by proximity to Japan
- Click to select — click the output text to instantly select all, ready to paste
- Japanese / English toggle — all UI labels and output text switch instantly; each language keeps its own independent header message
- Copy to clipboard — one click copies the full formatted message
- Responsive — works on desktop and mobile
- Visit https://masarusz.github.io/TimeBridge (or open
index.htmllocally) - Click dates on the calendar
- Select time slots (Morning / Afternoon / All Day / Custom)
- Add timezones as needed from the panel below the calendar
- Edit the opening message if you wish
- Click コピーする / Copy and paste into Slack, email, or any chat tool
Japanese, single timezone:
以下の日程でご都合いかがでしょうか。
・6月11日(木) 10:00~12:00
6月11日(木) 14:00~15:00
・6月12日(金) 10:00~18:00
English, single timezone:
Would any of the following schedule work for you?
- Jun 11th (Thu) 10:00~12:00
Jun 11th (Thu) 14:00~15:00
- Jun 12th (Fri) 10:00~18:00
Japanese, multiple timezones:
以下の日程でご都合いかがでしょうか。
・6月11日(木) 10:00~12:00 日本 / 6:30~8:30 India / 2:00~4:00 UK / 6月10日 21:00~23:00 US Eastern
6月11日(木) 14:00~15:00 日本 / 10:30~11:30 India / 6:00~7:00 UK / 1:00~2:00 US Eastern
・6月12日(金) 10:00~18:00 日本 / 6:30~14:30 India / 2:00~10:00 UK / 6月11日 21:00~5:00 US Eastern
English, multiple timezones:
Would any of the following schedule work for you?
- Jun 11th (Thu) 10:00~12:00 Japan / 6:30~8:30 India / 2:00~4:00 UK / Jun 10 21:00~23:00 US Eastern
Jun 11th (Thu) 14:00~15:00 Japan / 10:30~11:30 India / 6:00~7:00 UK / 1:00~2:00 US Eastern
- Jun 12th (Fri) 10:00~18:00 Japan / 6:30~14:30 India / 2:00~10:00 UK / Jun 11 21:00~5:00 US Eastern
- Japan is always the primary timezone (all slots are defined in JST)
- Timezones are ordered by proximity to Japan (closest UTC offset first)
- Order and offsets update automatically — DST transitions are applied per selected date, not per today's offset
- Overnight conversions show the source date prefix (e.g.
Jun 10 21:00~23:00) rather than a(+1)suffix
- Pure HTML / CSS / JavaScript — no framework, no build tool, no dependencies
- Timezone conversion uses
Intl.DateTimeFormatwith full IANA timezone identifiers - Japanese public holidays fetched from
holidays-jp.github.io/api/v1/{year}/date.json; cached inlocalStoragefor 30 days — works offline after first load; calendar degrades gracefully if the request fails - Works offline after the first load
# No install needed — just open the file
open index.htmlFiles:
index.html # App shell
style.css # All styles (CSS variables, responsive layout)
script.js # App logic (calendar, timezone, output generation)
i18n.js # Japanese / English string maps
- Header: replace the emoji next to the app name with the app icon (
icons/app-icon.svg, rounded corners, decorativealt="")
- Replace the emoji favicon with the app icon: SVG favicon, 32×32 PNG fallback, and a 180×180
apple-touch-iconfor iOS home screens
- Remove mobile auto-scroll (caused unexpected jumps on iOS Safari)
- Add copyright footer linking to author's GitHub profile
- Fix: Saturday now displays in blue and Sunday in red, matching Japanese calendar convention (were previously swapped)
- Feature: emoji favicon (🌉) shown in browser tab
- Feature: click the output text to instantly select all — paste-ready without triple-click
- Feature: Reset button now asks for confirmation before clearing all selections
- Fix: removed dead CSS class
.tz-preset-btn--hidden - Fix: removed duplicate
.calendar__nav-rightCSS rule
- Fix: custom time slot start time now capped at 23:00 — prevents a zero-duration 23:30~23:30 slot
- Fix: removed duplicate
filterToOptionscall in slot settings (fired twice per change) - Fix: removed unused
presetKeysvariable inrenderTzMoreSelect() - Fix: removed unused
ianaparameter fromutcToIana() - Docs: corrected additional timezone count from "40+" to "38" in README
- Feature: "Today / 今日" button in the calendar nav — jumps back to the current month; disabled (greyed out) when already on the current month
- Fix: holiday tooltip now appears instantly using a CSS
::afterpseudo-element instead of the nativetitleattribute (which has an OS-level ~1 s delay) - Fix: holiday tooltip text is now shown in English when the UI is in English mode (static built-in translation map — no extra API call)
- Fix: past weekends and past holidays are now greyed out to match past weekdays, instead of retaining their red/blue colour
- Fix: Japanese holiday display was broken after a failed attempt to fetch an
/en/API endpoint; reverted to the single reliable JA endpoint with client-side EN translation
- Feature: Japanese public holidays highlighted in red on the calendar with hover tooltip
- Holidays fetched from
holidays-jp.github.io/api/v1/{year}/date.json(current year + next year loaded on startup; additional years fetched on demand when navigating the calendar) - API responses cached in
localStoragefor 30 days — calendar degrades gracefully if offline or request fails
- Fix: All Day, Morning, and Afternoon preset slots are now mutually exclusive with Custom time ranges — adding a Custom clears all presets and disables them; removing the last Custom re-enables presets
- Fix: Morning + Afternoon auto-upgrade to All Day is skipped when Custom slots exist
- UI:
+ Custombutton moves below the last custom row as+ Add another time rangeonce the first custom slot is added
- Initial release
- Calendar date picker with Morning / Afternoon / All Day / Custom time slots
- Customisable default time ranges for preset slots
- Multi-timezone support with DST-aware conversion via
IntlAPI - Preset zones: Japan, India, UK, US Eastern, US Central, US Pacific
- 38 additional zones available via dropdown
- Timezones auto-ordered by proximity to Japan
- Single-timezone mode (clean output) and multi-timezone mode (inline conversions)
- Japanese / English language toggle with per-language header text
- Responsive layout for desktop and mobile