docs: adding more details and fix typos

This commit is contained in:
amin 2024-07-15 12:30:30 +01:00 committed by zanninso
parent a7e7a03e7a
commit 351c4bc3bd
1 changed files with 2 additions and 2 deletions

View File

@ -10,9 +10,9 @@ Write a class `DateFormatter` that has three private attributes:
Create getters for all the attributes and setters for `date` and `format`. The conversion should happen when you set the `format` or the `date`. If the `format` is not correct, the conversion shouldn't happen. Additionally, create methods to output the date in the specified `format`, and constructors with only the `date`, with `date` and `format`, and a default constructor.
The default date is the current date, and the format as follow `DD/MM/YYYY`.
The default date is the current date, and the format as follows `DD/MM/YYYY`, The format is case insesitive
> Using standart library to convert UNIX time to date is allowed
> Using standard library to convert UNIX time to date and to get date component is allowed.
#### The accepted date formats are: