Editing
OddmuseTrouble
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Q: 最近更新(RecentChanges)裡的時區不對 ==== A: : OddmuseWiki 程式使用的時間是「協調世界時間」(UTC, Coordinated Universal Time) 時區,相當於格林威治標準時間 (GMT, Greenwich Mean Time),而臺灣的時間是 GMT/UTC + 8 (CST),如果要將RecentChanges 的UTC時區更改為台北標準時間,必須更動到原始碼: <pre> sub CalcTime { my ($sec, $min, $hour, $mday, $mon, $year) = gmtime(shift); return sprintf('%02d:%02d UTC', $hour, $min); } </pre> 修改為 <pre> sub CalcTime { my ($sec, $min, $hour, $mday, $mon, $year) = gmtime(shift); return sprintf('%02d:%02d GMT+8', $hour+8, $min); } </pre> : 其他解決方法 [http://www.oddmuse.org/cgi-bin/wiki/Timezone_Extension Timezone Extension],不過作者計畫將此擴充功能日後改寫成模組。
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information