[
https://issues.apache.org/jira/browse/GRIFFIN-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nevena Veljkovic updated GRIFFIN-318:
-------------------------------------
Description:
In [https://github.com/apache/griffin/blob/master/griffin-doc/ui/user-guide.md]
YYYY should be replaced with yyyy
also DD/MM/YYYY should be replaced with dd/MM/yyyy
If anybody uses examples from user guide, she/he will encounter 2020-12-31
issue like I did
* Why to replace YYYY: YYYY (week year) is not necessarily equal to yyyy
(calendar year)
* Why to replace DD and YYYY in DD/MM/YYYY: DD is day of year and YYYY is week
year, author probable wanted to use dd (day of month) and yyyy (calendar year)
Also in
[https://github.com/apache/griffin/blob/master/ui/angular/src/app/measure/create-measure/configuration/configuration.component.html]
dt=#YYYYMMdd# should be replaced with dt=#yyyyMMdd#
[https://github.com/apache/griffin/blob/master/service/src/main/java/org/apache/griffin/core/util/TimeUtil.java#L138]
was:
In [https://github.com/apache/griffin/blob/master/griffin-doc/ui/user-guide.md]
YYYY should be replaced with yyyy
also DD/MM/YYYY should be replaced with dd/MM/yyyy
If anybody uses examples from user guide, she/he will encounter 2020-12-31
issue like I did
* Why to replace YYYY: YYYY (week year) is not necessarily equal to yyyy
(calendar year)
* Why to replace DD and YYYY in DD/MM/YYYY: DD is day of year and YYYY is week
year, author probable wanted to use dd (day of month) and yyyy (calendar year)
[https://github.com/apache/griffin/blob/master/service/src/main/java/org/apache/griffin/core/util/TimeUtil.java#L138]
> Replace all YYYY with yyyy in all user guides and examples
> ----------------------------------------------------------
>
> Key: GRIFFIN-318
> URL: https://issues.apache.org/jira/browse/GRIFFIN-318
> Project: Griffin
> Issue Type: Bug
> Reporter: Nevena Veljkovic
> Priority: Major
>
> In
> [https://github.com/apache/griffin/blob/master/griffin-doc/ui/user-guide.md]
> YYYY should be replaced with yyyy
> also DD/MM/YYYY should be replaced with dd/MM/yyyy
> If anybody uses examples from user guide, she/he will encounter 2020-12-31
> issue like I did
> * Why to replace YYYY: YYYY (week year) is not necessarily equal to yyyy
> (calendar year)
> * Why to replace DD and YYYY in DD/MM/YYYY: DD is day of year and YYYY is
> week year, author probable wanted to use dd (day of month) and yyyy (calendar
> year)
> Also in
> [https://github.com/apache/griffin/blob/master/ui/angular/src/app/measure/create-measure/configuration/configuration.component.html]
> dt=#YYYYMMdd# should be replaced with dt=#yyyyMMdd#
>
> [https://github.com/apache/griffin/blob/master/service/src/main/java/org/apache/griffin/core/util/TimeUtil.java#L138]
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)