ember-cli-build-info icon indicating copy to clipboard operation
ember-cli-build-info copied to clipboard

Possibility to inject timestamp too

Open spruce opened this issue 9 years ago • 3 comments

Hey, what do you think about creating a possibility to inject a timestamp too? And make it configurable. I want to champion it if everyone likes it.

spruce avatar Jan 16 '16 17:01 spruce

I'm assuming you mean adding a timestamp property to the current buildInfo hash? Something like:

buildInfo: {
  semver: '0.1.4-beta.1+53df212',
  version: '0.1.4',
  release: 'beta.1',
  build: '53df212',
  timestamp: 1234567890
}

Seems fine to me if it would be useful. What are you picturing for configurability?

elidupuis avatar Jan 16 '16 21:01 elidupuis

I thought about making configurable whether the timestamp would appear in said hash. To make it possible to hide it if it is sensible.

spruce avatar Jan 18 '16 21:01 spruce

Where would the timestamp come from?

elidupuis avatar Jan 20 '16 06:01 elidupuis