Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 740007

Summary: Dates & time across katello aren't internationalized
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: WebUIAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: cwelton, mmccune
Target Milestone: UnspecifiedKeywords: 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:
Embargoed:

Description Justin Sherrill 2011-09-20 16:46:53 UTC
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")

Comment 1 Mike McCune 2012-01-26 19:39:00 UTC
mass move to CFSE product.

Comment 2 Partha Aji 2012-02-02 21:10:01 UTC
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.

Comment 3 Corey Welton 2012-02-21 18:37:06 UTC
Also seems to be ok in Dashboard.

QA Verified.