mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-20 21:49:22 +00:00
Formatting: add semi-colons to CPDateFormatter.j
This commit is contained in:
1 parent
90d04956e6
commit
d75124066e
1 file changed
+4
-4
@@ -638,7 +638,7 @@ var defaultDateFormatterBehavior = CPDateFormatterBehavior10_4,
|
||||
if ([self _isEnglishFormat])
|
||||
format += @"h:mm:ss a";
|
||||
else
|
||||
format += @"H:mm:ss"
|
||||
format += @"H:mm:ss";
|
||||
|
||||
break;
|
||||
|
||||
@@ -1218,7 +1218,7 @@ var defaultDateFormatterBehavior = CPDateFormatterBehavior10_4,
|
||||
if ([self _isEnglishFormat])
|
||||
format += @" h:mm:ss a";
|
||||
else
|
||||
format += @" H:mm:ss"
|
||||
format += @" H:mm:ss";
|
||||
break;
|
||||
|
||||
case CPDateFormatterLongStyle:
|
||||
@@ -1534,7 +1534,7 @@ var defaultDateFormatterBehavior = CPDateFormatterBehavior10_4,
|
||||
var month;
|
||||
|
||||
if (length <= 2)
|
||||
month = parseInt(dateComponent)
|
||||
month = parseInt(dateComponent);
|
||||
|
||||
if (length == 3)
|
||||
{
|
||||
@@ -1847,7 +1847,7 @@ var defaultDateFormatterBehavior = CPDateFormatterBehavior10_4,
|
||||
tmpDate.setFullYear(dateArray[0]);
|
||||
tmpDate.setMonth(0);
|
||||
|
||||
tmpDate.setDate(dayOfYear)
|
||||
tmpDate.setDate(dayOfYear);
|
||||
|
||||
dateArray[1] = tmpDate.getMonth() + 1;
|
||||
dateArray[2] = tmpDate.getDate();
|
||||
|
||||
Reference in new issue
Block a user