Skip to content

Instantly share code, notes, and snippets.

View metalefty's full-sized avatar
♥️
Looking for sponsors

metalefty

♥️
Looking for sponsors
View GitHub Profile
@metalefty
metalefty / main.gs
Last active July 28, 2025 13:06 — forked from sat0b/main.gs
Google Apps ScriptでGoogleカレンダーからGoogleスプレッドシートに作業時間を自動集計する
const CALLENDAR_ID = '<calendar_id>'
const SHEET_ID = '<sheet_id>'
function main() {
// 現在の年と月を取得
const [year, month] = getCurrentYearMonth();
// 月の開始時刻と終了時刻を取得
const [startTime, endTime] = getCurrentMonthTimes(year, month);
ja:
errors:
messages:
not_found: "は見つかりませんでした"
# not_found: "not found"
already_confirmed: "は既に登録済みです"
# already_confirmed: "was already confirmed"
not_locked: "は凍結されていません"
# not_locked: "was not locked"