mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-23 00:46:23 +01: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_test.go | ||
duration.go | ||
labels_test.go | ||
labels_timing_test.go | ||
labels.go | ||
time_test.go | ||
time.go |