delint polygon
This commit is contained in:
parent
95d57d43ec
commit
b9416dab7f
1 changed files with 2 additions and 2 deletions
|
|
@ -72,11 +72,11 @@ pub const Polygon = struct {
|
|||
var to_buf: [10]u8 = undefined;
|
||||
|
||||
if (from) |f| {
|
||||
params[n] = .{ "ex_dividend_date.gte", std.fmt.bufPrint(&from_buf, "{f}", .{f}) catch unreachable };
|
||||
params[n] = .{ "ex_dividend_date.gte", try std.fmt.bufPrint(&from_buf, "{f}", .{f}) };
|
||||
n += 1;
|
||||
}
|
||||
if (to) |t| {
|
||||
params[n] = .{ "ex_dividend_date.lte", std.fmt.bufPrint(&to_buf, "{f}", .{t}) catch unreachable };
|
||||
params[n] = .{ "ex_dividend_date.lte", try std.fmt.bufPrint(&to_buf, "{f}", .{t}) };
|
||||
n += 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue