From 393250d107612593ed33df18317546abde95069c Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Tue, 7 Jan 2020 10:54:30 +0100 Subject: [PATCH] amc is the stat order --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index ea6ae9a..bb38356 100644 --- a/index.js +++ b/index.js @@ -709,8 +709,8 @@ function getStatArray (stat) { ints[8] = (stat && stat.blksize) || 0 ints[9] = (stat && stat.blocks) || 0 setDoubleInt(ints, 10, toDateMS(stat && stat.atime)) - setDoubleInt(ints, 12, toDateMS(stat && stat.ctime)) - setDoubleInt(ints, 14, toDateMS(stat && stat.mtime)) + setDoubleInt(ints, 12, toDateMS(stat && stat.mtime)) + setDoubleInt(ints, 14, toDateMS(stat && stat.ctime)) return ints }