@@ -220,3 +220,115 @@ index 12770f36..5ab67df2 100644
220220
221221 utf8_string1_p = ecma_compare_get_string_chars (string1_p, string1_size_and_length);
222222 utf8_string2_p = ecma_compare_get_string_chars (string2_p, string2_size_and_length);
223+ diff --git a/CMakeLists.txt b/CMakeLists.txt
224+ index 044a2de8..c7887d10 100644
225+ --- a/CMakeLists.txt
226+ +++ b/CMakeLists.txt
227+ @@ -12,7 +12,7 @@
228+ # See the License for the specific language governing permissions and
229+ # limitations under the License.
230+
231+ - cmake_minimum_required (VERSION 2.8.12)
232+ + cmake_minimum_required (VERSION 3.10)
233+ project (Jerry C)
234+
235+ if(NOT DEFINED PYTHON)
236+ diff --git a/jerry-core/CMakeLists.txt b/jerry-core/CMakeLists.txt
237+ index cdcb0f49..48605a2c 100644
238+ --- a/jerry-core/CMakeLists.txt
239+ +++ b/jerry-core/CMakeLists.txt
240+ @@ -12,7 +12,7 @@
241+ # See the License for the specific language governing permissions and
242+ # limitations under the License.
243+
244+ - cmake_minimum_required (VERSION 2.8.12)
245+ + cmake_minimum_required (VERSION 3.10)
246+ set(JERRY_CORE_NAME jerry-core)
247+ project (${JERRY_CORE_NAME} C)
248+
249+ diff --git a/jerry-ext/CMakeLists.txt b/jerry-ext/CMakeLists.txt
250+ index e83b8147..6eef1779 100644
251+ --- a/jerry-ext/CMakeLists.txt
252+ +++ b/jerry-ext/CMakeLists.txt
253+ @@ -12,7 +12,7 @@
254+ # See the License for the specific language governing permissions and
255+ # limitations under the License.
256+
257+ - cmake_minimum_required (VERSION 2.8.12)
258+ + cmake_minimum_required (VERSION 3.10)
259+ set(JERRY_EXT_NAME jerry-ext)
260+ project (${JERRY_EXT_NAME} C)
261+
262+ diff --git a/jerry-main/CMakeLists.txt b/jerry-main/CMakeLists.txt
263+ index ccd62f4e..ff3dc80e 100644
264+ --- a/jerry-main/CMakeLists.txt
265+ +++ b/jerry-main/CMakeLists.txt
266+ @@ -12,7 +12,7 @@
267+ # See the License for the specific language governing permissions and
268+ # limitations under the License.
269+
270+ - cmake_minimum_required (VERSION 2.8.12)
271+ + cmake_minimum_required (VERSION 3.10)
272+ project (jerry-main C)
273+
274+ # Optional build settings
275+ diff --git a/jerry-math/CMakeLists.txt b/jerry-math/CMakeLists.txt
276+ index 4b5bba49..30177e9c 100644
277+ --- a/jerry-math/CMakeLists.txt
278+ +++ b/jerry-math/CMakeLists.txt
279+ @@ -12,7 +12,7 @@
280+ # See the License for the specific language governing permissions and
281+ # limitations under the License.
282+
283+ - cmake_minimum_required (VERSION 2.8.12)
284+ + cmake_minimum_required (VERSION 3.10)
285+ set(JERRY_MATH_NAME jerry-math)
286+ project (${JERRY_MATH_NAME} C)
287+
288+ diff --git a/jerry-port/default/CMakeLists.txt b/jerry-port/default/CMakeLists.txt
289+ index 17f3d478..7ac841e5 100644
290+ --- a/jerry-port/default/CMakeLists.txt
291+ +++ b/jerry-port/default/CMakeLists.txt
292+ @@ -12,7 +12,7 @@
293+ # See the License for the specific language governing permissions and
294+ # limitations under the License.
295+
296+ - cmake_minimum_required (VERSION 2.8.12)
297+ + cmake_minimum_required (VERSION 3.10)
298+ set(JERRY_PORT_DEFAULT_NAME jerry-port-default)
299+ project (${JERRY_PORT_DEFAULT_NAME} C)
300+
301+ diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-helpers.h b/jerry-core/ecma/builtin-objects/ecma-builtin-helpers.h
302+ index db90bc93..8810bf0c 100644
303+ --- a/jerry-core/ecma/builtin-objects/ecma-builtin-helpers.h
304+ +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-helpers.h
305+ @@ -175,8 +175,8 @@ typedef enum
306+ } ecma_date_timezone_t;
307+
308+ /* ecma-builtin-helpers-date.c */
309+ - extern const char day_names_p[7][3];
310+ - extern const char month_names_p[12][3];
311+ + extern const char day_names_p[7][4];
312+ + extern const char month_names_p[12][4];
313+
314+ int32_t ecma_date_day_from_time (ecma_number_t time);
315+ int32_t ecma_date_year_from_time (ecma_number_t time);
316+ diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-helpers-date.c b/jerry-core/ecma/builtin-objects/ecma-builtin-helpers-date.c
317+ index 280a94c4..fd5233b5 100644
318+ --- a/jerry-core/ecma/builtin-objects/ecma-builtin-helpers-date.c
319+ +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-helpers-date.c
320+ @@ -36,12 +36,12 @@
321+ /**
322+ * Day names
323+ */
324+ - const char day_names_p[7][3] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
325+ + const char day_names_p[7][4] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
326+
327+ /**
328+ * Month names
329+ */
330+ - const char month_names_p[12][3] = {
331+ + const char month_names_p[12][4] = {
332+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
333+ };
334+
0 commit comments