aboutsummaryrefslogtreecommitdiff
path: root/lib/time/time_defs.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-17 20:35:09 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-17 20:35:09 -0400
commitf4e38fd061a158ecb94881273c6db6e6a332f61d (patch)
tree9179cb312dcc1b24d806dfb65694c25580d1ed8b /lib/time/time_defs.h
parent602cedd03b0c3d6ef176efafb08f51bde9bfe543 (diff)
Switch from using dollar signs as namespace delimiters to using 々, ヽ, andunicode-identifiers
〇.
Diffstat (limited to 'lib/time/time_defs.h')
-rw-r--r--lib/time/time_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/time/time_defs.h b/lib/time/time_defs.h
index 30000983..ae2d009a 100644
--- a/lib/time/time_defs.h
+++ b/lib/time/time_defs.h
@@ -10,12 +10,12 @@ static INLINE Text_t num_format(long n, const char *unit)
{
if (n == 0)
return Text("now");
- return Text$from_str(String((int64_t)labs(n), " ", unit, (n == -1 || n == 1) ? "" : "s", n <= 0 ? " ago" : " later"));
+ return Textヽfrom_str(String((int64_t)labs(n), " ", unit, (n == -1 || n == 1) ? "" : "s", n <= 0 ? " ago" : " later"));
}
static void set_local_timezone(Text_t tz)
{
- setenv("TZ", Text$as_c_string(tz), 1);
+ setenv("TZ", Textヽas_c_string(tz), 1);
_local_timezone = tz;
tzset();
}