opened 11:07AM - 21 Jun 24 UTC
kind:feature
## Feature Request
Check discuss on [this](https://forum.crystal-lang.org/t/p…rint-compile-time-when-app-starts/6278)
Following is a example code
```crystal
module College
VERSION = {{ `shards version "#{__DIR__}"`.chomp.stringify }}
DEPLOYED_VERSION = {{ `git rev-parse --short HEAD`.chomp.stringify + `crystal eval 'puts Time.local.to_s(" %Y/%m/%d %H:%M:%S")'`.chomp.stringify }}
end
```
The output like this:
```
Deployed version: f5ca099 2024/06/21 18:16:48
```
Above time serve as a `build time`, `deploy time`, or `release date` for CLI app, is used for confirm we are packaged the binary or deployed the website which built on specified time.
I consider we should get the `Time.local` use a better way than awful `crystal eval ...` workaround.