SAAS-928: Time strings on Radio Page are not localized

This commit is contained in:
drigato 2015-07-07 09:21:44 -04:00
parent db0b733b84
commit b200a29f43
3 changed files with 22 additions and 22 deletions

View File

@ -55,8 +55,8 @@
if ($window.schedule_data["weekDays"][format_start_date] !== undefined) { if ($window.schedule_data["weekDays"][format_start_date] !== undefined) {
$window.schedule_data["weekDays"][format_start_date]["shows"].push( $window.schedule_data["weekDays"][format_start_date]["shows"].push(
{ {
"show_start_hour": start_date.getHours().toString().paddingLeft("00")+":"+ start_date.getMinutes().toString().paddingLeft("00"), "show_start_hour": start_date.toLocaleTimeString([], { hour: 'numeric', minute : 'numeric' }),
"show_end_hour": end_date.getHours().toString().paddingLeft("00")+":"+ end_date.getMinutes().toString().paddingLeft("00"), "show_end_hour": end_date.toLocaleTimeString([], { hour: 'numeric', minute : 'numeric' }),
"name": value.name "name": value.name
}); });
} }

View File

@ -123,7 +123,7 @@ background: rgba(53, 53, 53, 1.0);
.schedule_item div.time_grid { .schedule_item div.time_grid {
/*padding-right: 10px;*/ /*padding-right: 10px;*/
width: 20%; width: 30%;
font-weight: 300; font-weight: 300;
color: #AAAAAA; color: #AAAAAA;
display: inline-block; display: inline-block;
@ -133,7 +133,7 @@ background: rgba(53, 53, 53, 1.0);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
padding-left: 10px; padding-left: 10px;
width: 77%; width: 67%;
display:inline-block; display:inline-block;
vertical-align: middle; vertical-align: middle;
} }
@ -182,11 +182,11 @@ background: rgba(53, 53, 53, 1.0);
@media (max-width: 630px) { @media (max-width: 630px) {
.schedule_item div.time_grid { .schedule_item div.time_grid {
width: 25%; width: 37%;
} }
.schedule_item div.name_grid { .schedule_item div.name_grid {
width: 70%; width: 58%;
} }
} }
@ -197,31 +197,31 @@ background: rgba(53, 53, 53, 1.0);
} }
.schedule_item div.time_grid { .schedule_item div.time_grid {
width: 30%; width: 35%;
} }
.schedule_item div.name_grid { .schedule_item div.name_grid {
width: 67%; width: 60%;
} }
} }
@media (max-width: 500px) { @media (max-width: 500px) {
.schedule_item div.time_grid { .schedule_item div.time_grid {
width: 35%; width: 40%;
} }
.schedule_item div.name_grid { .schedule_item div.name_grid {
width: 62%; width: 55%;
} }
} }
@media (max-width: 400px) { @media (max-width: 400px) {
.schedule_item div.time_grid { .schedule_item div.time_grid {
width: 40%; width: 90%;
} }
.schedule_item div.name_grid { .schedule_item div.name_grid {
width: 50%; width: 90%;
} }
} }

View File

@ -97,7 +97,7 @@ body {
.schedule_item div.time_grid { .schedule_item div.time_grid {
/*padding-right: 10px;*/ /*padding-right: 10px;*/
width: 20%; width: 30%;
font-weight: 300; font-weight: 300;
color: #AAAAAA; color: #AAAAAA;
display: inline-block; display: inline-block;
@ -107,7 +107,7 @@ body {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
padding-left: 10px; padding-left: 10px;
width: 77%; width: 67%;
display:inline-block; display:inline-block;
vertical-align: middle; vertical-align: middle;
} }
@ -132,11 +132,11 @@ body {
@media (max-width: 630px) { @media (max-width: 630px) {
.schedule_item div.time_grid { .schedule_item div.time_grid {
width: 25%; width: 37%;
} }
.schedule_item div.name_grid { .schedule_item div.name_grid {
width: 72%; width: 58%;
} }
} }
@ -147,31 +147,31 @@ body {
} }
.schedule_item div.time_grid { .schedule_item div.time_grid {
width: 30%; width: 35%;
} }
.schedule_item div.name_grid { .schedule_item div.name_grid {
width: 67%; width: 60%;
} }
} }
@media (max-width: 500px) { @media (max-width: 500px) {
.schedule_item div.time_grid { .schedule_item div.time_grid {
width: 35%; width: 40%;
} }
.schedule_item div.name_grid { .schedule_item div.name_grid {
width: 62%; width: 55%;
} }
} }
@media (max-width: 400px) { @media (max-width: 400px) {
.schedule_item div.time_grid { .schedule_item div.time_grid {
width: 40%; width: 90%;
} }
.schedule_item div.name_grid { .schedule_item div.name_grid {
width: 50%; width: 90%;
} }
} }