time: Reliable way to obtain start, end days of a month #31142
Labels
FeatureRequest
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Hey, I noticed that the stdlib
time
package does not offer direct, reliable methods for obtaining the start and end days of a timestamp's month. There are a number of Stack Overflow suggestions, as well as a (reportedly inaccurate) third party package for this.Would be good to have a standard method to call for this common use case, rather than relying on the community to get complex date and time rules right.
The text was updated successfully, but these errors were encountered: