yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47059
[Bug 1551290] [NEW] leap year bug - day is out of range for month
Public bug reported:
Horizon Dashboard -> Admin -> Settings -> Change Language -> Save (->
Trigger)
triggers a bug in
openstack_dashboard/dashboards/settings/user/forms.py : 33
which currently has
return datetime(now.year + 1, now.month, now.day, now.hour,
now.minute, now.second, now.microsecond, now.tzinfo)
ValueError: day is out of range for month
because there will not be a 2017-02-29
IMHO, we should just use the Epoch value and add 365*24*60*60 seconds
** Affects: horizon
Importance: Undecided
Status: New
** Project changed: python-openstackclient => horizon
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1551290
Title:
leap year bug - day is out of range for month
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Horizon Dashboard -> Admin -> Settings -> Change Language -> Save (->
Trigger)
triggers a bug in
openstack_dashboard/dashboards/settings/user/forms.py : 33
which currently has
return datetime(now.year + 1, now.month, now.day, now.hour,
now.minute, now.second, now.microsecond, now.tzinfo)
ValueError: day is out of range for month
because there will not be a 2017-02-29
IMHO, we should just use the Epoch value and add 365*24*60*60 seconds
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1551290/+subscriptions
Follow ups