[MM-45052] Mark method as deprecated (#21703)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
64add1a108
Коммит
7c7acb476e
@@ -248,6 +248,9 @@ func ToDailyPostCountViewModel(dpc []*DurationPostCount, startTime *time.Time, n
|
||||
return viewModel
|
||||
}
|
||||
|
||||
// Deprecated: This method doesn't perform error checking.
|
||||
// Use GetStartOfDayForTimeRange instead.
|
||||
//
|
||||
// StartOfDayForTimeRange gets the unix start time in milliseconds from the given time range.
|
||||
// Time range can be one of: "today", "7_day", or "28_day".
|
||||
func StartOfDayForTimeRange(timeRange string, location *time.Location) *time.Time {
|
||||
|
||||
Ссылка в новой задаче
Block a user