You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some plugins need a long to represent a timestamp, with the time format it needs some custom conversion, since time values come from long it should be possible to just propagate them.
Tell us about the expected behaviour (required)
Could be using timeLong or alike as suffix.
Context (optional)
No response
PS: it looks quite straight forward but if it helps I'm happy to start to do some PR but was not sure of the solution so didn't start any yet
The text was updated successfully, but these errors were encountered:
Unix time[a] is a date and time representation widely used in computing. It measures time by the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, the Unix epoch, without adjustments made due to leap seconds. In modern computing, values are sometimes stored with higher granularity, such as microseconds or nanoseconds.
Do we need to be more precise than seconds? What about Timezones? I guess since epoch is counting from 00:00:00 UTC on 1 January 1970 we would then assume that number of seconds represents the difference to the local UTC time.
@TheSnoozer I need milliseconds precision but I guess ${git.xxxx.time.ms}000 can do the trick so it would work. Value must be compatible with Instant;ofEpoch but the second version is sufficient if simpler for you (and maybe more generic).
Hello,
thanks for the quick feedback! Ok, should make little difference to report the number of milli seconds since epoch (https://currentmillis.com) which would be something like 1697817924644.
Describe the idea (required)
Some plugins need a
long
to represent a timestamp, with thetime
format it needs some custom conversion, sincetime
values come fromlong
it should be possible to just propagate them.Tell us about the expected behaviour (required)
Could be using
timeLong
or alike as suffix.Context (optional)
No response
PS: it looks quite straight forward but if it helps I'm happy to start to do some PR but was not sure of the solution so didn't start any yet
The text was updated successfully, but these errors were encountered: