mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-29 23:30:04 +01:00
fc98b62760
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 |