Search titles only
By:
Home
Forums
New posts
Search forums
Articles
New articles
New comments
Search articles
Pinball DB
Pinball Tables
Pinball Games
What's new
New posts
New articles
New profile posts
New article comments
Latest activity
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Welcome Back to Digital Pinball Fans -
please read this first
For latest updates, follow Digital Pinball Fans on
Facebook
and
Twitter
Home
Forums
Farsight Studios
The Pinball Arcade / Farsight Studios
TPA Website Issues / Requests
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="invitro" data-source="post: 221050" data-attributes="member: 446"><p>This looks marvelous! </p><p></p><p>(I would love to be able to view tournaments other than the last one, but after viewing the source, that seems unlikely. That's OK.</p><p></p><p>I have some tiny minor requests:</p><p></p><p>- The tournament times use the user's current locale. They should probably print the user's time zone, just in case the user's locale is not correct (is this possible?). There is stuff for formatting dates/times in <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat" target="_blank"><strong>Intl.DateTimeFormat</strong></a> (with using options), and you could get rid of lots of code in VTX_FUNC.js. That might be a fair bit of stuff, but at least please remove this line: "<span style="color: #000000">if (hrs < 10) {hrs = "0"+hrs;}", and change '</span><span style="color: #000000">return hrs+":"+minutes+ampm;'</span> to '<span style="color: #000000">return hrs+":"+minutes+" "+ampm;' </span><span style="color: #000000">as it's improper to write the time as "07:11pm", it should be "7:11 pm" <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />.</span></p><p><span style="color: #000000"></span></p><p><span style="color: #000000">- I would align the rank and score columns to the right, rather than to the left. But you'd want to zero-fill the point totals. But that's ok, because you should probably print only one decimal place, instead of three. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></span></p><p><span style="color: #000000"></span></p><p><span style="color: #000000">Well I said they were minor. It looks great and I am grabbing the data for posterity right now.)</span></p></blockquote><p></p>
[QUOTE="invitro, post: 221050, member: 446"] This looks marvelous! (I would love to be able to view tournaments other than the last one, but after viewing the source, that seems unlikely. That's OK. I have some tiny minor requests: - The tournament times use the user's current locale. They should probably print the user's time zone, just in case the user's locale is not correct (is this possible?). There is stuff for formatting dates/times in [URL="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat"][B]Intl.DateTimeFormat[/B][/URL] (with using options), and you could get rid of lots of code in VTX_FUNC.js. That might be a fair bit of stuff, but at least please remove this line: "[COLOR=#000000]if (hrs < 10) {hrs = "0"+hrs;}", and change '[/COLOR][COLOR=#000000]return hrs+":"+minutes+ampm;'[/COLOR] to '[COLOR=#000000]return hrs+":"+minutes+" "+ampm;' [/COLOR][COLOR=#000000]as it's improper to write the time as "07:11pm", it should be "7:11 pm" :). - I would align the rank and score columns to the right, rather than to the left. But you'd want to zero-fill the point totals. But that's ok, because you should probably print only one decimal place, instead of three. :) Well I said they were minor. It looks great and I am grabbing the data for posterity right now.)[/COLOR] [/QUOTE]
Verification
Post reply
Members online
No members online now.
Latest posts
D
Anyone still playing?
Latest: Dan
Mar 3, 2025
The Pinball Arcade / Farsight Studios
Home
Forums
Farsight Studios
The Pinball Arcade / Farsight Studios
TPA Website Issues / Requests
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top