mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Update CMake for using add_subdirectory feature (#156)
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
parent
882c5cdbd8
commit
e8ef8741fe
6 changed files with 209 additions and 209 deletions
|
|
@ -621,8 +621,7 @@ time64_t DateObject::parseStringToDate_1(ExecutionState& state, String* istr, bo
|
|||
}
|
||||
|
||||
// ':40 GMT'
|
||||
if (*dateString && *dateString != ':' &&
|
||||
!isASCIISpace(*dateString)) {
|
||||
if (*dateString && *dateString != ':' && !isASCIISpace(*dateString)) {
|
||||
return TIME64NAN;
|
||||
}
|
||||
|
||||
|
|
@ -801,8 +800,7 @@ static char* parseES5TimePortion(char* currentPosition, long& hours, long& minut
|
|||
if (!parseLong(currentPosition, &postParsePosition, 10, &hours)) {
|
||||
return 0;
|
||||
}
|
||||
if (*postParsePosition != ':' ||
|
||||
(postParsePosition - currentPosition) != 2) {
|
||||
if (*postParsePosition != ':' || (postParsePosition - currentPosition) != 2) {
|
||||
return 0;
|
||||
}
|
||||
currentPosition = postParsePosition + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue