mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
92e79e835e
The ParseTime() function looks strange, since it converts relative duration to absolute time since Unix Epoch.
In most scenarios such a conversion is used by mistake.
It is better to do not expose such a function for public use and hide it inside the package where it is needed,
e.g. inside app/vmalert-tool/unittest.
This is a follow-up for
|
||
---|---|---|
.. | ||
duration.go | ||
duration_test.go | ||
labels.go | ||
labels_test.go | ||
labels_timing_test.go | ||
time.go | ||
time_test.go |