TimeRange - Allow specifying arrayOfWeekdays
See original GitHub issueIs your feature request related to a problem? Please describe. I want to Monday to be the first row instead of Sunday.
Describe the solution you’d like
Should be easy to allow passing in arrayOfWeekdays
as a property to TimeRange
that is passed down to computeWeekdays
:
https://github.com/plouc/nivo/blob/d49a79034ba4fe13ed53f2163a0e511953fc61c0/packages/calendar/src/TimeRange.tsx#L114
Or maybe more clean: A property to indicate which is the first day of the week.
Describe alternatives you’ve considered None.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Numbers of weekdays in a date range in TSQL
create function dbo.f_countweekdays ( @DOW int, @StartDate datetime, @EndDate datetime ) returns int begin return ( select datediff(wk, T2.
Read more >Day of week - MATLAB weekday
This MATLAB function returns a number representing the day of the week for each element in D.
Read more >WEEKDAY Function - Formula, Examples, How to Use ...
The WEEKDAY Function is an Excel DATE and TIME Function. The function will return an integer that is a representation of the day...
Read more >Create a date sequence in Excel and auto fill date series
See how to generate a series of days, workdays, months or years in Excel with a formula and auto fill a date series....
Read more >Using metric math - Amazon CloudWatch
Function Arguments Return type* Supported for cross‑account?
ABS TS. TS TS. TS ✓
ANOMALY_DETECTION_BAND TS. TS, S TS
AVG TS. TS S. TS ✓
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll try to get the project set up locally and see what I can do. I’d guess “first day of the week” is the cleanest approach?
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!