Skip to content

Commit

Permalink
change date to datetime field
Browse files Browse the repository at this point in the history
  • Loading branch information
fanglinfang committed Apr 16, 2019
1 parent 37c2d6d commit 7d51d5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uw_hrp/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def date_to_str(d_obj):


class WorkerPosition(models.Model):
effective_date = models.DateField(null=True, default=None)
end_date = models.DateField(null=True, default=None)
effective_date = models.DateTimeField(null=True, default=None)
end_date = models.DateTimeField(null=True, default=None)
ecs_job_cla_code_desc = models.CharField(max_length=64,
null=True, default=None)
location = models.CharField(max_length=96, null=True, default=None)
Expand Down

0 comments on commit 7d51d5f

Please sign in to comment.