-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure endpoints() always returns last observation
endpoints() did not return the location of the last observation when `k > 1` and `on` is "months" or "quarters". This was because the seq() call did not include the last location. Create a function to do the check, to keep things DRY. Thanks to GitHub user Eluvias for the report. Fixes #300.
- Loading branch information
1 parent
352b5a9
commit f7f4a3e
Showing
2 changed files
with
58 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters