347 B
347 B
wezterm.strftime(format)
Since: nightly
Formats the current local date/time into a string using the Rust chrono strftime syntax.
local wezterm = require 'wezterm';
local date_and_time = wezterm.strftime("%Y-%m-%d %H:%M:%S");
wezterm.log_info(date_and_time);