Field date_joined_program must have default value

RESOLVED FIXED

Status

Mozilla Reps
reps.mozilla.org
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: giorgos, Assigned: giorgos)

Tracking

0.2 - Skon

Details

Comment hidden (empty)
(Assignee)

Updated

6 years ago
Assignee: nobody → giorgos
Group: mozilla-reps-admins
Status: NEW → ASSIGNED

Comment 1

6 years ago
Commits pushed to master at https://github.com/mozilla/remo

https://github.com/mozilla/remo/commit/952c546524108188e6dab833b759d77df9b45380
Default value for date_join_program field. Fix bug 739570.

https://github.com/mozilla/remo/commit/f1e15a4dc8f913e98b33281c4beb5a616bf1cb6c
Merge pull request #99 from glogiotatidis/739570-field-date_joined_program-must

Default value for date_join_program field. Fix bug 739570.

Updated

6 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Per https://github.com/mozilla/remo/commit/952c546524108188e6dab833b759d77df9b45380#L2R58, and:

default=datetime.date(month=6, year=2011, day=1))

Shouldn't that be June 1, 2011?  I'm seeing July 1, 2011, on profile like https://reps-dev.allizom.org/u/nikola_matosovic/edit/
(Assignee)

Comment 3

6 years ago
You are right Stephen. I later pushed this

https://github.com/mozilla/remo/commit/3ffdd1acfc8a881a2b567f3a34d6607e6e4c8cd6

which defaults on July, thus the misalignment. I already fixed that, so when pushed on stage / prod we'll get the right default value. Dev will stay like this, but I don't think this is a problem.

Thanks for reporting! ;)
You need to log in before you can comment on or make changes to this bug.