arqex / arqex/react-datetime

How to define a period range as ’week’, ‘month’, ‘year’?

Open
#544 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

### I'm Submitting a ...

```
[ ] Bug report
[x ] Feature request
[ ] Support request
```
### Expected Results
Hi, thanks for the great lib! I’d like to ask if it is possible to be able to select a predefined period range as ’week’, ‘month’, ‘year’? Some example pics might help what I’m trying to say. I couldn’t find a way to implement such thing with your calendar, would love to hear from you if it is possible? I can see a way of implementing it for month and year through determining the dateFormat with another button but I can't see a way for selecting week? Thanks for any help.

### Minimal Reproduction of the Problem
![screen shot 2018-04-06 at 17 16 38](https://user-images.githubusercontent.com/33025255/38427406-d7536b5c-39c1-11e8-979f-738d6662319f.png)
![screen shot 2018-04-06 at 17 16 48](https://user-images.githubusercontent.com/33025255/38427407-d77d76cc-39c1-11e8-953a-d47d9d8a3c3e.png)
![screen shot 2018-04-06 at 17 16 57](https://user-images.githubusercontent.com/33025255/38427408-d7b95a7a-39c1-11e8-8c27-cac005d4e4c7.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.