change I just realized string iterpolation works everywhere.
1 files changed, 1 insertions(+), 2 deletions(-) M ifc.v
M ifc.v +1 -2
@@ 160,8 160,7 @@ fn (i IFC) day_of_week() u8 { } fn (i IFC) str() string { - return i.week_day().str().capitalize() + ' ' + strconv.format_int(i.month_day(), 10) + ' ' + - i.month().str().to_upper() + ' ' + strconv.format_int(i.year, 10) + return '${i.week_day().str().capitalize()} ${i.month_day()} ${i.month().str().to_upper()} ${i.year}' } fn prnt_header(t time.Time) {