From 21d2482fff119876e9dbb4b7fb53b26d01606e80 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 26 Jul 2022 08:09:24 +0100 Subject: Add configuration to context --- doom/config.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doom') diff --git a/doom/config.org b/doom/config.org index 21d52d7..7c18ec5 100644 --- a/doom/config.org +++ b/doom/config.org @@ -538,8 +538,8 @@ This function uses the date command line tool to do it." "\n" "" (shell-command-to-string "date +%z"))) (stamp1 (concat (replace-regexp-in-string "[<>]" "" stamp))) - (date-cmd-p0 "TZ=%s date -d \"%s\"") - (date-cmd-p1 "date --date=\"TZ=\\\"%s\\\" %s\"") + (date-cmd-p0 "TZ=%s gdate -d \"%s\"") + (date-cmd-p1 "gdate --date=\"TZ=\\\"%s\\\" %s\"") (date-cmd-p2 " +\"%F %H:%M\"") (date-cmd-from (concat (format date-cmd-p1 tz stamp1) date-cmd-p2)) (date-cmd-to (concat (format date-cmd-p0 tz -- cgit