diff options
Diffstat (limited to '')
| -rw-r--r-- | src/exe.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exe.zig b/src/exe.zig index c1f084b..6aa260d 100644 --- a/src/exe.zig +++ b/src/exe.zig @@ -75,7 +75,7 @@ fn pandocWorker(ctx: *Context, page: []const u8) !void { defer ctx.allocator().free(target_path); // get mtime of the source document - const mtime = try (fs.getGitTime(source_path) catch fs.getMtime(source_path)); + const mtime = try fs.getLastEdit(source_path); const mtime_str = try fs.formatTimespec(ctx.allocator(), mtime, "%s"); defer ctx.allocator().free(mtime_str); |