From ddd181e6620ef74fc97fbc184eb7c1440641d2fe Mon Sep 17 00:00:00 2001 From: boess Date: Tue, 21 Feb 2017 13:31:32 +0100 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 00b5116..5b9a714 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,20 @@ This widget allows users to quickly enter dates. ## Description -The user can enter the date in any of the following formats: +The user can use shorter date formats to quickly input dates. +The sequence of the months and days is determined on the date format of the projects. -### DDMM +### DDMM or MMDD The year will be determined based on the setting of the "Current Year" boolean. By default the "Current Year" is set to true and the missing year information will be interpreted as the current year. When the "Current Year" is set to false the date will be interpreted as the current or next possible date. -### DDMMYY +### DDMMYY or MMDDYY The date is considered to be in the current century. -### DDMMYYYY +### DDMMYYYY MMDDYYYY There is no information missing. ## Example use -*All dates are in the DD/MM/YYYY format.* +*All example dates are in the DD/MM/YYYY format.* |System Date|Input|CurrentYear|Output| |---|---|---|---| @@ -26,5 +27,5 @@ There is no information missing. |27/03/2016|26032021|not applicable|26/03/2021| ## Validations -Any seperators used in the input are ignored. The output date uses /'s as seperator. -Validation errors are shown when the input contains letters or when the input can not result in a valid date (e.g. 29/02/2001). \ No newline at end of file +Any seperators used in the input are ignored. The output date is formatted with the format of the project. +Validation errors are shown when the input contains letters or when the input can not result in a valid date (e.g. 29/02/2001).