Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Date template is not accurate #336

Closed
g4s8 opened this issue Mar 29, 2018 · 19 comments
Closed

Date template is not accurate #336

g4s8 opened this issue Mar 29, 2018 · 19 comments
Labels

Comments

@g4s8
Copy link
Contributor

g4s8 commented Mar 29, 2018

date template in templates.xsl is not accurate because it calculates one month as 30 days, regardless of what is the month:

<xsl:value-of select="$minute + $hour * 60 + $day * 60 * 24 + $month * 60 * 24 * 30 + $year * 60 * 24 * 365"/>

it produces incorrect values in agenda: https://github.com/zerocracy/farm/issues/683

To reproduce it just change added values in agenda/simple to:

<added>2018-02-27T12:00:00.684Z</added>

and today param in templates.xsl to:

<xsl:param name="today" select="'2018-03-01T12:00:00Z'"/>

and run rake to generate agenda.html. It will be 4 days in agenda.html: 30+30+1 - (30+27) == 4, but actually it is 2 days: 30+28+1 - (30+27) == 2.

@0crat
Copy link
Collaborator

0crat commented Mar 29, 2018

@yegor256/z please, pay attention to this issue

@yegor256 yegor256 added the bug label Mar 29, 2018
@0crat 0crat added the scope label Mar 29, 2018
@0crat
Copy link
Collaborator

0crat commented Mar 29, 2018

Job #336 is now in scope, role is DEV

@0crat
Copy link
Collaborator

0crat commented Mar 29, 2018

Bug was reported, see §29: +15 point(s) just awarded to @g4s8/z

@g4s8
Copy link
Contributor Author

g4s8 commented May 27, 2018

@0crat status

@0crat
Copy link
Collaborator

0crat commented May 27, 2018

@0crat status (here)

@g4s8 This is what I know about this job, as in §32:

  • The job #336 is in scope for 2mon
  • The role is DEV
  • The job is not assigned to anyone
  • The budget is not set yet
  • These users are banned and won't be assigned:
    • @g4s8/z: This user reported the ticket
  • Job footprint (restricted area)

@0crat
Copy link
Collaborator

0crat commented Jun 8, 2018

The job #336 assigned to @proshin-roman/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

@proshin-roman
Copy link

@0crat refuse

@0crat
Copy link
Collaborator

0crat commented Jun 12, 2018

@0crat refuse (here)

@proshin-roman The user @proshin-roman/z resigned from #336, please stop working. Reason for job resignation: Order was cancelled

@0crat
Copy link
Collaborator

0crat commented Jun 12, 2018

Tasks refusal is discouraged, see §6: -15 point(s) just awarded to @proshin-roman/z

@0crat
Copy link
Collaborator

0crat commented Jun 14, 2018

The job #336 assigned to @paulodamaso/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

paulodamaso added a commit to paulodamaso/zerocracy-datum that referenced this issue Jun 17, 2018
- Added different the corresponding days for each month, including leap
years.
@paulodamaso
Copy link
Contributor

@0crat wait while #345 is resolved

@0crat
Copy link
Collaborator

0crat commented Jun 17, 2018

@0crat wait while #345 is resolved (here)

@paulodamaso The impediment for #336 was registered successfully by @paulodamaso/z

paulodamaso added a commit to paulodamaso/zerocracy-datum that referenced this issue Jun 17, 2018
@paulodamaso
Copy link
Contributor

@g4s8 Merged, please close.

@g4s8
Copy link
Contributor Author

g4s8 commented Jun 19, 2018

@paulodamaso thanks

@g4s8 g4s8 closed this as completed Jun 19, 2018
@0crat
Copy link
Collaborator

0crat commented Jun 19, 2018

@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

@0crat 0crat removed the scope label Jun 19, 2018
@0crat
Copy link
Collaborator

0crat commented Jun 19, 2018

The job #336 is now out of scope

@ypshenychka
Copy link

@0crat quality good

@0crat
Copy link
Collaborator

0crat commented Jun 19, 2018

Order was finished, quality is "good": +35 point(s) just awarded to @paulodamaso/z

@0crat
Copy link
Collaborator

0crat commented Jun 19, 2018

Quality review completed: +8 point(s) just awarded to @ypshenychka/z

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants