-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the build date to the reported version. #21957 #22201
Conversation
r? @nick29581 (rust_highfive has picked a reviewer for you, use r? to override) |
This is my attempt to solve the confusion around the date reported by |
lgtm, you can take that as r+ if you like or wait to see if anyone has a better idea... |
I'd like to get rid of the useless '14:38:56 -0800' part of the commit date but git doesn't seem to support printing just the date. |
It seems like you can print just the date using |
@iKevinY Thanks for the tip! |
I've updated the PR to not put the time and tz offset in the version. |
rustc --version says ``` rustc 1.0.0-dev (d0e82a6 2015-02-05) (built 2015-02-11) ```
@bors: r=nick29581 rollup |
🙀 You have the wrong number! Please try again with |
rustc --version says ``` rustc 1.0.0-dev (d0e82a6 2015-02-05 14:38:56 -0800) (built 2015-02-11) ```
rustc --version says ``` rustc 1.0.0-dev (d0e82a6 2015-02-05 14:38:56 -0800) (built 2015-02-11) ```
rustc --version says ``` rustc 1.0.0-dev (d0e82a6 2015-02-05 14:38:56 -0800) (built 2015-02-11) ```
rustc --version says