Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Generated file has incorrect date #281
generated hello world dated Jan 1 1970
lein new mies cljstest cd cljstest lein cljsbuild once
and the file is
What am I doing wrong?
I asked on SO too, more info there - https://stackoverflow.com/questions/21044524/incorrect-data-for-lein-cljsbuild-file
The SO info should be here, not there. :-P
The only mtime change of late was #277 (and the only place where lein-cljsbuild changes the mtime AFAICT), but I don't think that's related.
Is this problem affecting you in non-pathological circumstances, or did you just stumble into an interesting edge case?
nah, nanoTime returns something not connected with current time at all:
user> (System/currentTimeMillis) 1389360033730 user> (System/nanoTime) 50833125370818
currentTimeMillis should be used to touch