|
|
@@ -2,19 +2,37 @@
|
|
|
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:
|
|
|
+# Date format for chatto-send output. Default: 02.01.2006 (unambiguous).
|
|
|
+# Accepts Go time layouts (reference time Mon Jan 2 15:04:05 MST 2006)
|
|
|
+# OR common placeholders (dd, MM, yyyy, HH, mm, ss, ...):
|
|
|
+# Go layouts:
|
|
|
# 02.01.2006 -> 31.12.2026
|
|
|
# 2006-01-02 -> 2026-12-31
|
|
|
# 02.01.2006 15:04 -> 31.12.2026 23:59
|
|
|
# January 2, 2006 -> December 31, 2026
|
|
|
+# Placeholders:
|
|
|
+# dd.MM.yyyy -> 31.12.2026
|
|
|
+# yyyy-MM-dd -> 2026-12-31
|
|
|
+# dd.MM.yyyy HH:mm -> 31.12.2026 23:59
|
|
|
# Reference: https://pkg.go.dev/time#Time.Format
|
|
|
# CHEAPO_CHATTO_OUTPUT_DATE_FORMAT=2006-01-02
|
|
|
+# CHEAPO_CHATTO_OUTPUT_DATE_FORMAT=dd.MM.yyyy
|
|
|
+# CHEAPO_CHATTO_OUTPUT_DATE_FORMAT=yyyy-MM-dd
|
|
|
CHEAPO_CHATTO_OUTPUT_DATE_FORMAT=02.01.2006
|
|
|
|
|
|
-# Date format for CLI 'Free until:' output (Go time layout). Default: RFC3339 (ISO, unambiguous).
|
|
|
+# Date format for CLI 'Free until:' output. Default: RFC3339 (ISO, unambiguous).
|
|
|
# JSON output and MCP always use ISO-8601 regardless of this setting.
|
|
|
+# Accepts Go time layouts OR common placeholders (dd, MM, yyyy, HH, mm, ss, ...).
|
|
|
+# Go layouts:
|
|
|
+# 2006-01-02 -> 2026-12-31
|
|
|
+# 2006-01-02T15:04:05Z07:00 -> 2026-12-31T23:59:59Z
|
|
|
+# Placeholders:
|
|
|
+# dd.MM.yyyy -> 31.12.2026
|
|
|
+# yyyy-MM-dd -> 2026-12-31
|
|
|
+# dd.MM.yyyy HH:mm -> 31.12.2026 23:59
|
|
|
# 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
|
|
|
+# CHEAPO_CLI_OUTPUT_DATE_FORMAT=2006-01-02T15:04:05Z07:00
|
|
|
+# CHEAPO_CLI_OUTPUT_DATE_FORMAT=dd.MM.yyyy
|
|
|
+# CHEAPO_CLI_OUTPUT_DATE_FORMAT=yyyy-MM-dd
|
|
|
+# CHEAPO_CLI_OUTPUT_DATE_FORMAT=dd.MM.yyyy HH:mm
|