-
Notifications
You must be signed in to change notification settings - Fork 11
Date template is not accurate #336
Comments
Job #336 is now in scope, role is |
@0crat status |
|
@0crat refuse |
@proshin-roman The user @proshin-roman/z resigned from #336, please stop working. Reason for job resignation: Order was cancelled |
Tasks refusal is discouraged, see §6: -15 point(s) just awarded to @proshin-roman/z |
- Added different the corresponding days for each month, including leap years.
@paulodamaso The impediment for #336 was registered successfully by @paulodamaso/z |
@g4s8 Merged, please close. |
@paulodamaso thanks |
@ypshenychka/z please review this job completed by @paulodamaso/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed |
The job #336 is now out of scope |
@0crat quality good |
Order was finished, quality is "good": +35 point(s) just awarded to @paulodamaso/z |
Quality review completed: +8 point(s) just awarded to @ypshenychka/z |
date
template intemplates.xsl
is not accurate because it calculates one month as 30 days, regardless of what is the month:it produces incorrect values in agenda: https://github.com/zerocracy/farm/issues/683
To reproduce it just change
added
values inagenda/simple
to:and
today
param intemplates.xsl
to:and run
rake
to generateagenda.html
. It will be 4 days inagenda.html
:30+30+1 - (30+27) == 4
, but actually it is 2 days:30+28+1 - (30+27) == 2
.The text was updated successfully, but these errors were encountered: