Time Range
A Time Range Widget for Drupal 8
Installation
- Extract this module into your modules folder.
- Flush the Cache.
- Enable the Time Range module.
- Create a Date Range field, select Day and time as field type.
- To select Time range, go to your content type's form display settings and select Time Range
This is just a change to the display form, so that the user doesn't need to enter too much content.
The storage of time is provided by the core.
Because it doesn't require you to fill out the date, the default record is the date of the day.
If you don't want to see the date time, go to your content type's display settings and change the Date/time format in your style.
Home page:
https://www.drupal.org/project/time_range
Cloning the repository:
git clone --branch 8.x-1.x git://git.drupal.org/project/time_range.git
cd time_range
Sandbox:
https://duje2.ply.st/admin/structure/types/manage/article/form-display
Please reviews.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | Manage form display drupal 8 4 3.png | 6.97 KB | pvsureshmca |
| #11 | sdsad drupal 8 4 3.png | 8.23 KB | pvsureshmca |
| #11 | Create Article drupal 8 4 3.png | 10.51 KB | pvsureshmca |
| #10 | https git drupal org project time_range git pareview sh.png | 46.4 KB | pvsureshmca |
| lunchtime.png | 29.46 KB | dravenk |
Comments
Comment #2
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
ruchi-94 commentedAutomated Review
Best practice issues identified by pareview.sh / drupalcs / coder. Time: 92ms; Memory: 4Mb
Note that perfect adherence to Drupal Coding Standard is NOT a reason to block an application, except for total disregard of them. However, modules should follow them as closely as possible.
Manual Review
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #4
ruchi-94 commentedComment #5
vitaliiishchenko commentedHi, dravenk.
I installed the module and used it for a little time. It works fine for me.
Comment #6
Deepthi kumari commentedHi,
The module is working fine. Found below minor issues in phpcs.
Everything else looks fine.
Comment #7
dravenk@Detal
I am very glad to hear that you are using this module.
Comment #8
dravenkThanks for review.but, I use the phpcs/phpcbf check time_range not found fixable.Run on d8.5. See below:
Make sure you check on the last commit? Correct me if I'm wrong.The last commit was write down here:
Comment #9
dravenkUse the
phpcbf --standard=Drupal time_rangecheck again.Update summary.
Comment #10
pvsureshmca commentedHi,
please refer the pareview.sh report below.
Comment #11
pvsureshmca commentedHi,
This module is working fine for me Apart from the above issue report. Please refer the attached image for more reference.
Thanks for your contribution.
Comment #12
dravenk@pvsureshmca
Thanks attentive. Now, fixed the space line.
Comment #13
lawxen commentedThis module just has a widget hook, so no security risk on my opinion
Comment #14
avpadernoThank you for your contribution!
I am going to update your account so you can opt into security advisory coverage now.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the dedicated reviewers as well.
Comment #15
avpaderno