question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TimeRange - Allow specifying arrayOfWeekdays

See original GitHub issue

Is 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
anton-johanssoncommented, Sep 6, 2021

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?

0reactions
stale[bot]commented, Dec 14, 2021

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found