arshadkazmi42 / custom-date-formatting Goto Github PK
View Code? Open in Web Editor NEW:calendar: Npm package for custom date formatting
License: GNU General Public License v3.0
:calendar: Npm package for custom date formatting
License: GNU General Public License v3.0
It needs to change as below
getNextOrPrevDateCustomFormat => Custom Format date with days (+/-)
in the README.md file
It needs to change as below
getNextOrPrevMinuteDateCustomFormat => Custom Format date with Minutes (+/-)
in the README.md file
npm install
Describe the bug
Add code quality badge to readme
Additional context
Add Code Quality badge next to downloads badge in README file
just copy the below code and add it in readme below downloads code
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a47235834dff4a88ae37bdc7460a5c7d)](https://www.codacy.com/app/arshadkazmi42/custom-date-formatting?utm_source=github.com&utm_medium=referral&utm_content=arshadkazmi42/custom-date-formatting&utm_campaign=Badge_Grade)
To work on this
Note: Anyone who is not following above two steps, their PR will be rejected
Contributing guidelines link is redirecting to some other repo.
It should redirect to this location
https://github.com/arshadkazmi42/custom-date-formatting/blob/master/CONTRIBUTING.md
All the contributors name added here are in wrong format
https://github.com/arshadkazmi42/custom-date-formatting/blob/master/Contributors.md
it needs to be something like this
[Arshad Kazmi](https://github.com/arshadkazmi42)
So for this, []
these brackets needs to be added in all names.
Steps to work on this
Closes #62
(This is not your commit message)Important Note
First person to comment here, gets the issue.
Is someone is working on it, please do no create duplicate request.
Check with the person who has commented first whether they are continuing with it or not.
If they are not continuing, then you can add comment here and create a new PR.
Note: Work on a feature branch, do not work on master branch.
It needs to change as below
getTimeStampFromCurrentDateFormat => Timestamp from custom date format
in the README.md file
We need code_of_conduct exactly like this
https://raw.githubusercontent.com/arshadkazmi42/simple-date-validator/master/CODE_OF_CONDUCT.md
with the same file name also.
Add gitignore file for the node project
Create a Contributors.md file in root directory which will contain list of contributors in this syntax
# Contributors
- [Arshad Kazmi](https://github.com/arshadkazmi42)
Also do add yourself to the list
Add space after //
in the comments, in the usage sample which is present in readme
//This will return a string with new date
change to
// This will return a string with new date
Change this for all the usage samples
Add build badge with other badges in readme.md
This is the url for build badge
https://travis-ci.org/arshadkazmi42/custom-date-formatting.svg?branch=master
Add output of the usage in readme file here
https://github.com/arshadkazmi42/custom-date-formatting#getnextorprevseconddatecustomformat
Add this output
Output: "2018-10-06 00:40:02"
Change heading size of this title in readme
Small package which provides some basic functions for custom date formatting
If readme is opened in edit mode, you will find the title like this
# Small package which provides some basic functions for custom date formatting
this needs to change to
## Small package which provides some basic functions for custom date formatting
It needs to change as below
customSourceDateFormatToCustomNewDateFormat => Custom Source Format date custom new format
in the README.md file
Create a file with this name
PULL_REQUEST_TEMPLATE.md
in the repo and add this in it
Fixes #
It needs to change as below
getNextOrPrevSecondDateCustomFormat => Custom Format date with Seconds (+/-)
in the README.md file
Update gitignore file to ignore IDE config files
Add output of the usage in readme file here
https://github.com/arshadkazmi42/custom-date-formatting#gettimestampfromcurrentdateformat
Add this output
Output: 1503858600000
Add output of the usage in readme file here
https://github.com/arshadkazmi42/custom-date-formatting#getnextorprevminutedatecustomformat
Add this output
Output: "2018-10-06 00:39"
Uncomment the code here,
https://github.com/arshadkazmi42/custom-date-formatting/blob/master/test/index.js#L16-L26
and change hard coded datetime values to generate dynamically using moment
Change the import statements in usage examples in the README file
from
const DateFormatting = require('custom-date-formatting');
to
const DateFormatting = require('customdateformatting');
Remove the existing documentation in README below this heading
Small package which provides some basic functions for custom date formatting
and add usage examples something like this
https://github.com/arshadkazmi42/simple-date-validator/blob/master/README.md#how-to-use
Add your self to Contributors.md .
Do not add yourself at the top. or bottom of the list. Add yourself to in between the list, doing this there will less chances of getting conflicts.
Also do tag the issue number in the PR description
Add code block to this title in README.md
Make the below change.
Custom Format date with Minutes (+/-) => Custom Format date with Minutes (+/-)
Change 'againts' to 'against'
Add output of the usage in readme file here
https://github.com/arshadkazmi42/custom-date-formatting#customsourcedateformattocustomnewdateformat
Add this output
Output: "Monday 28 Aug 2017"
Add LICENSE to this project exactly like this
https://raw.githubusercontent.com/arshadkazmi42/simple-date-validator/master/LICENSE
with same file name LICENSE
Output
statements.We would want to show contributors avatar in our README.md file.
This piece of code needs to be added in the README.md file bottom, with the title something like this
https://github.com/arshadkazmi42/ak-logger#contributors
[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/images/0)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/links/0)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/images/1)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/links/1)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/images/2)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/links/2)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/images/3)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/links/3)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/images/4)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/links/4)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/images/5)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/links/5)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/images/6)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/links/6)[![](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/images/7)](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/custom-date-formatting/links/7)
NOTE
tile and description at the bottom of the README should be removed
Add output of the usage in readme file here
https://github.com/arshadkazmi42/custom-date-formatting#getnextorprevdatecustomformat
Add the below output
Output: "2018-10-06"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.