|
|
@@ -0,0 +1,37 @@
|
|
|
+# .env in the project root (godotenv). Never commit the real .env file.
|
|
|
+CHATTO_TOKEN="<token>" # set by the operator
|
|
|
+# CHATTO_BASE_URL=https://chat.chatto.run # optional, is the default
|
|
|
+
|
|
|
+# Date format for chatto-send output (Go time layout). Default: 02.01.2006 (unambiguous).
|
|
|
+# Go uses a reference time (Mon Jan 2 15:04:05 MST 2006) to describe the layout.
|
|
|
+# Examples (left = layout, right = rendered output for 2026-12-31 23:59:59 UTC):
|
|
|
+# 02.01.2006 -> 31.12.2026
|
|
|
+# 2006-01-02 -> 2026-12-31
|
|
|
+# 02.01.2006 15:04 -> 31.12.2026 23:59
|
|
|
+# 02.01.2006 15:04:05 -> 31.12.2026 23:59:59
|
|
|
+# January 2, 2006 -> December 31, 2026
|
|
|
+# Mon, 02 Jan 2006 15:04:05 MST -> Wed, 31 Dec 2026 23:59:59 UTC
|
|
|
+# 2006-01-02T15:04:05Z07:00 -> 2026-12-31T23:59:59Z
|
|
|
+# Reference: https://pkg.go.dev/time#Time.Format
|
|
|
+# CHEAPO_CHATTO_OUTPUT_DATE_FORMAT=2006-01-02
|
|
|
+CHEAPO_CHATTO_OUTPUT_DATE_FORMAT=02.01.2006
|
|
|
+# Timezone for chatto-send dates (default: system local time). Examples: Europe/Berlin, UTC, America/New_York
|
|
|
+# CHEAPO_CHATTO_OUTPUT_TIMEZONE=Europe/Berlin
|
|
|
+
|
|
|
+# Date format for CLI 'Free until:' output (Go time layout). Default: RFC3339 (ISO, unambiguous).
|
|
|
+# JSON output and MCP always use ISO-8601 regardless of this setting.
|
|
|
+# Go uses a reference time (Mon Jan 2 15:04:05 MST 2006) to describe the layout.
|
|
|
+# Examples (left = layout, right = rendered output for 2026-12-31 23:59:59 UTC):
|
|
|
+# 2006-01-02 -> 2026-12-31
|
|
|
+# 02.01.2006 -> 31.12.2026
|
|
|
+# 2006-01-02 15:04 -> 2026-12-31 23:59
|
|
|
+# 2006-01-02 15:04:05 -> 2026-12-31 23:59:59
|
|
|
+# 02.01.2006 15:04:05 -> 31.12.2026 23:59:59
|
|
|
+# January 2, 2006 -> December 31, 2026
|
|
|
+# Mon, 02 Jan 2006 15:04:05 MST -> Wed, 31 Dec 2026 23:59:59 UTC
|
|
|
+# 2006-01-02T15:04:05Z07:00 -> 2026-12-31T23:59:59Z
|
|
|
+# Default (ISO-8601 / RFC3339): 2006-01-02T15:04:05Z07:00
|
|
|
+# CHEAPO_CLI_OUTPUT_DATE_FORMAT=2006-01-02
|
|
|
+# CHEAPO_CLI_OUTPUT_DATE_FORMAT=2006-01-02T15:04:05Z07:00
|
|
|
+# Timezone for CLI 'Free until:' (default: UTC). Examples: Europe/Berlin, UTC, America/New_York
|
|
|
+# CHEAPO_CLI_OUTPUT_TIMEZONE=Europe/Berlin
|