`;loginAccount.classList.add('login');let shortOrFullName;if (IsMobile()) {shortOrFullName = full_name.split(' ').map(name => name[0] + '.').join('');} else {shortOrFullName = full_name;}loginAccount.innerHTML = GetShortName(shortOrFullName);loginAccount.setAttribute("href", "javascript:;");loginAccount.innerHTML += userProfile;loginAccount.addEventListener("click", () => {loginAccount.classList.toggle("opened");}, { passive: true });var logoutAccount = document.getElementById("logoutbtn");if (logoutAccount) {logoutAccount.addEventListener("click", () => {setCookie("firstLogin", false, -1);setCookie("isPopupShow", true, 7);document.location = loginUrl +"/accounts/logout" + lastUrl;});}}if (h16Header) {h16Header.setAttribute("href", profileLink);let loginPlaces = document.querySelectorAll(".login-user");[].forEach.call(loginPlaces, element => {element.innerText = GetShortName(full_name)});}bdmp('user', {'userId': dmUser.profile.id,'userType': 'loggedin'});trackFirstLogin(dmUser);if (gmConnectBtn && gmLoginAfter) {gmConnectBtn.remove();gmLoginAfter.remove();[].forEach.call(gmLoginContainers, element => {element.classList.add('gm-show');});[].forEach.call(gmLoginInfoElements, element => {element.innerHTML = GetShortName(full_name);});[].forEach.call(gmLogoutButtons, element => {element.setAttribute("href", "javascript:void(0);");});}}function onFailure(error) {let loginUrl = "https://u.hurriyet.com.tr";let lastUrl = "";popupShowRule();setCookie("firstLogin", false, -1);if (document.getElementById('logoutbtn') != null) {document.getElementById('logoutbtn').style.display = 'none';}document.getElementById('btn-dm-signin').innerText = "GİRİŞ";document.getElementById('btn-dm-signin').href = loginUrl + "/accounts/login" + lastUrl;let loginAccount = document.querySelector('.header__external--account');let h16Header = document.querySelector(".h16-header");if (loginAccount) {loginAccount.classList.remove('login');}if (h16Header) {loginAccount.setAttribute("href", "javascript:void(0)");let loginPlaces = document.querySelectorAll(".login-user");[].forEach.call(loginPlaces, element => {element.innerText = "GİRİŞ";});}console.log('onFailure', error);}function trackFirstLogin(dmUser) {if (getCookie("firstLogin") !== "") {return;}const actionNames = {7: "google",5: "twitter",4: "facebook",17: "apple"};let action = "manuel";try {const referrer = dmUser.profile.referrer;action = actionNames[referrer] || action;} catch (e) {console.error("Error referrer", e);}const script = document.createElement("script");script.innerHTML = `window.dataLayer = window.dataLayer || [];window.dataLayer.push({'event': 'login','Category': 'login','Action': '${action}','Label': 'hurriyet.com'});`;document.getElementsByTagName('head')[0].appendChild(script);setCookie("firstLogin", true, 15);};function popupShowRule() {let isReferralValid = false;let isWebSiteFirstVisit = false;let isMainPageAutoReload = false;let documentReferrer = document.referrer;if (documentReferrer.includes(".hurriyet.com.tr") || documentReferrer.includes("localhost") || documentReferrer == "") {isReferralValid = true;}if (isReferralValid) {if (getCookie("isWebSiteFirstVisit") == "") {setCookie("isWebSiteFirstVisit", true, 1);isWebSiteFirstVisit = true;}if (isWebSiteFirstVisit == false && getCookie("isPopupShow") == "") {setCookie("isPopupShow", true, 7);let googleFastLoginControlText = document.getElementById("googleFastLoginControl").value;if (googleFastLoginControlText == 1) {console.log("OneTap: Mobile, Web On");loadGoogleTapOneJs("https://accounts.google.com/gsi/client");}else if (googleFastLoginControlText == 2 && IsMobile()) {console.log("OneTap: Mobile On, Web Off");loadGoogleTapOneJs("https://accounts.google.com/gsi/client");}else if (googleFastLoginControlText == 3 && !IsMobile()) {console.log("OneTap: Mobile Off, Web On");loadGoogleTapOneJs("https://accounts.google.com/gsi/client");}}}}function setCookie(cname, cvalue, exdays) {const d = new Date();d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));let expires = "expires=" + d.toUTCString();document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";}function getCookie(cname) {let name = cname + "=";let decodedCookie = decodeURIComponent(document.cookie);let ca = decodedCookie.split(';');for (let i = 0; i < ca.length; i++) {let c = ca[i];while (c.charAt(0) == ' ') {c = c.substring(1);}if (c.indexOf(name) == 0) {return c.substring(name.length, c.length);}}return "";}function GetShortName(full_name) {if (full_name) {let names = full_name.split(' ');full_name = names[0];if (names.length > 1) {for (var i = 1; i < names.length; i++) {full_name = full_name + ' ' + names[i][0] + '.';}}}return full_name;}function IsMobile() {return /iPhone|iPod|Windows Phone|Opera Mini|BlackBerry|webOS|Android.+Mobile/i.test(navigator.userAgent);}}} catch (e) {}});

Turkey to implement 12-month daylight savings in 2 yrs

Güncelleme Tarihi:

Turkey to implement 12-month daylight savings in 2 yrs
Oluşturulma Tarihi: Ağustos 10, 2008 15:13

Turkey is expected to begin implementing daylight saving time all year round after nearly 2 years, the officials said on Sunday.

Haberin Devamı

Turkish Energy and Natural Resources Ministry reached a consensus with the relevant institutions in regard to implementation of daylight saving time all year round and change of reference meridian.

If the Council of Ministers approves it, organizations such as airlines, banks and stock exchange will be given 1.5 or 2 years for adaptation and then implementation will begin.

Daylight savings ends this year on the last weekend of October and clocks will be set back by one hour, as it occurred in the past.

Photo: Reuters

Haberle ilgili daha fazlası:

BAKMADAN GEÇME!