| Summary: | Dates & time across katello aren't internationalized | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> |
| Component: | WebUI | Assignee: | Partha Aji <paji> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | cwelton, mmccune |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-22 17:57:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
mass move to CFSE product. http://git.fedorahosted.org/git/?p=katello.git;a=commit;h=2151b76037798103e645c9cfa5b51627837a6338 Pages that were updated for this 1) Activation Keys list/edit 2) Systems list/details 3) Notices 4) Systems/Orgs Subscriptions 5) Sync Mgmt One page which was not i18nized and will be addressed in the future is the sync plans page. There is a separate bz 787001 for that. Please fail this bug if you notice any other instance of dates not getting i18nized. Also seems to be ok in Dashboard. QA Verified. |
In several places are using strftime() to format dates without respect to other locales: [~/katello/src (dashboard)]$ grep strf app/ -R app/helpers/systems_helper.rb: Time.parse(item).localtime.strftime('%m/%d/%y %I:%M %p %Z') app/controllers/systems_controller.rb: :expires => Date.parse(pool["endDate"]).strftime("%m/%d/%Y"), app/controllers/systems_controller.rb: :expires => Date.parse(pool["endDate"]).strftime("%m/%d/%Y"), app/models/sync_plan.rb: WEEK_DAYS[self.sync_date.strftime('%e').to_i] app/models/sync_plan.rb: self.sync_date.nil? ? '' : self.sync_date.strftime('%m/%d/%Y'); app/models/sync_plan.rb: self.sync_date.nil? ? '' : self.sync_date.strftime('%I:%M %p'); app/models/sync_plan.rb: self.sync_date.strftime('%Z') app/models/glue/pulp/repo.rb: # retval = date.strftime("%H:%M:%S %Y-%m-%d") app/models/glue/pulp/repo.rb: # retval = date.strftime("%H:%M:%S %Y-%m-%d")