Comments (4)
+1.
alternatively, "commit.time" returns a timestamp, and "commit.date" returns a Date object?
from nodegit.
I think your suggestion would be most useful
from nodegit.
Awesome! Although I'll note that having commit.time return a non-JS-compatible timestamp (ie, one in seconds instead of ms) is pretty odd.
from nodegit.
You're right it is. I'd like to make using this module as intuitive (or at least as predictable) as possible, I'll * 1000 the timestamp before passing it onto the callback.
from nodegit.
Related Issues (20)
- Cannot join slack HOT 3
- https://www.nodegit.org/ out of date
- undefined symbol: SSL_get_peer_certificate HOT 6
- Memory corruption in index handling HOT 2
- Cannot join slack ISSUE HOT 2
- Can we use v0.28.0-alpha.21 version in our production app HOT 8
- "undefined symbol: gcry_control" after building in linux/amd64 alpine
- How to check count of changed files to avoid empty commits HOT 1
- [feat] Add benchmark HOT 5
- [Question] When can we reach version `0.28.0`? Are there any road blockers? HOT 2
- should publish a version which fix vulnerabilities to npm under `lastest` tag
- Prebuilt Binaries for node 18? HOT 5
- Archive this repo please HOT 6
- Building for Node 18 needs libssl-dev and libkrb5-dev to allow building libgit2 from source HOT 2
- error loading plugin
- conflictGet docs has wrong return type
- Blame always returns the same time HOT 1
- Does not work in Docker container based on node:slim HOT 2
- S3 AWS Missing HOT 7
- Fetch never ask for credentials HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodegit.