Topic on Project:Support desk

About JavaScript date.now() function , Wikipedia said 60 % php , 40% from JavaScript

This topic was hidden by 藥物介紹義工
Reason: Ended
24
藥物介紹義工 (talkcontribs)

Help

Can you test from your any computer or phone to view any page from official Wikipedia . then view your server log record , the time stamp is form computer local time or sever utc time?

But first please change your phone or computer time clock , set to fast 5 minutes or more.

Thanks

Ciencia Al Poder (talkcontribs)
藥物介紹義工 (talkcontribs)

Wikipedia server is use JavaScript , i need clearly to know when i view any web page from Wikipedia server log record is save my access computer local clock ? or use Wikipedia utc clock.

Can you help me .

I send Wikimedia Answers email and Wikipedia Volunteer .

Volunteer email said server log save record is for Wikipedia utc , not my computer time

Wikimedia Answers said me go to this to request my problem.

藥物介紹義工 (talkcontribs)

Hello

This 100% is about official Wikipedia , because my problem about law , when anyone view Wikipedia web page . The time stamp have or not Will it be affected by the JavaScript time function , server log records is save my computer local clock ? or use Wikipedia utc clock.

Ciencia Al Poder (talkcontribs)

Anything saved/stored on the server uses the server time, not JavaScript time. Dates on the server are stored using UTC timezone. However, dates displayed on browser may be adjusted to a different timezones depending on user preferences, and in case of unregistered users, it will use the configured server's timezone (usually UTC, but may be different on different wikis)

藥物介紹義工 (talkcontribs)

Ok , thanks for your help first


But my question is not about register or unregistered to edit Wikipedia web page is or not the time stamp it will be affected by the JavaScript date.now() time function .


Ok finally

eg: i come to this url read this page Wikipedia, server log record is save my access computer local clock time stamp ? or use server utc clock time stamp. No any affected by the JavaScript date.now() time function .


https://zh.m.wikipedia.org/wiki/HoneyWorks


Thanks

Ciencia Al Poder (talkcontribs)

What server log are you talking about? The link you pointed at is a normal page, not a log

藥物介紹義工 (talkcontribs)

Normal page have log .

From

server /var/log/apache/access.log have save anyone records ip , date , time .

But media wiki program have use date.now() time function by Wikipedia Volunteer said that , so anyone only read this normal page , the server log record is save my computer local clock time stamp ? or use server utc clock time stamp. No any affected by the JavaScript date.now() time function ?

Please focus and come back to system access.log

Thanks

Bawolff (talkcontribs)

Most page views would not even be handled by the apache servers. However all server side logs will use the server side clocks and be unaffected by javascript.

I think you are a bit confused about how all the pieces fit together

Ciencia Al Poder (talkcontribs)

I do not have access to Wikimedia Foundation's servers to see the contents of the apache access log.

Apparently, the default configuration for access logs is to display the server's timezone:

https://httpd.apache.org/docs/2.4/logs.html#accesslog

Again, this is not specific to MediaWiki.

藥物介紹義工 (talkcontribs)

Hello thank you .

How can contact Chinese server owner?

Thanks

Bawolff (talkcontribs)

There is no separate owner for the chinese servers, and it is very unlikely that sysadmins are going to look in server logs for you without a reason or clear question.

Ciencia Al Poder (talkcontribs)
Malyacko (talkcontribs)
Bawolff (talkcontribs)

In most places we use server side clocks. There may be a few limited situations where we use javascript date.now() timestamps, but its very few and far between.

What is it you actually want to find out?

藥物介紹義工 (talkcontribs)

But you are not sure if view any normal page from Wikipedia , is use javascript date.now() timestamps for save my computer clock or use server clock...........

Ciencia Al Poder (talkcontribs)

This is very easy to test by yourself. Do the test mentioned on your first post. Or disable JavaScript.

This post was hidden by Ciencia Al Poder (history)
藥物介紹義工 (talkcontribs)

I hope is 100% sure know answer , is not hope thinking myself answer Thanks

This post was hidden by Ciencia Al Poder (history)
This post was hidden by Ciencia Al Poder (history)
This post was hidden by Ciencia Al Poder (history)
藥物介紹義工 (talkcontribs)

If i click here right ago or days this post , i can see is use my time , not server time, but click inside the time is use server time..........

Don't play me i really want to dead

藥物介紹義工 (talkcontribs)

Finally test please delete , thanks