View Full Version : Date and Time - Articles
DRIVE
12-11-2007, 05:42 PM
Hi,
I had to set the timezone offset in the preferences to -7 GMT however, I am on the east coast of US so the timezone should be -5 GMT with compensation for daylight savings times.
I think this was an issue in 3.5 as well. Shouldnt the selection be correct and also have a selection for "automatically adjust for daylight savings time?"?
Also, if your logic doesn't compensate for daylight savings time (in my view it should as it is very common), wouldnt setting it to -6 GMT be the correct setting to get the correct time for the articles?
I am not understanding how the time is determined, and I also dont want to have to jack around with remembering to changing the offset when the DST changes twice each year :D
Can we get a detailed explanation of how the date and time is determined? I dont think the operation is getting it correctly, but I've been wrong before :)
Also, in the article options, the date/time widget, how can we change that so that it displays the time format in US/GB time: Month/Day/Year h:m:s?
There is a setting for how it displays for end users viewing articles, but we'd like to have it in our format since that's what we use here....
Thanks!!
Ksenija
12-12-2007, 10:15 AM
This is a known issue and will be fixed in a future major release.
DRIVE
12-16-2007, 06:16 AM
This IS the future release...lol.. same exact problems from 3.5
Date and Time should be priority... Imagine waking up and not knowing what time or day it was (as if that has NEVER happened to any of us) ;) :D:eek:
Blueracer66
12-16-2007, 06:24 AM
This IS the future release...lol.. same exact problems from 3.5
Date and Time should be priority... Imagine waking up and not knowing what time or day it was (as if that has NEVER happened to any of us) ;) :D:eek:
This is very funny. I was actually going to post about this until I saw this post. Anyway, here is the date in JavaScript (JS)
<script type="text/javascript">
var d=new Date()
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var monthname=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
document.write(weekday[d.getDay()] + " ")
document.write(d.getDate() + ". ")
document.write(monthname[d.getMonth()] + " ")
document.write(d.getFullYear())
</script>
I suggest you use PHP though. Visit http://us3.php.net/datetime
DRIVE
12-16-2007, 06:38 AM
Hey cool script... I've never seen it before ;)
WE are talking about the date/time for the SERVER in the settings in Admin interface. To be more clear, the main problem is the "Time Zone Format" in "Preferences" on the "General" tab. It's offset incorrectly and there does not appear to be compensation for daylight savings time, which enough countries/places/regions use to make it a viable item to consider.
The secondary problem is that when in the ADMIN, all dates and times are in a format that is not native to what we deal with on this end... and many other ends :D
Catch the drift? Got any other cool scripts?......
Blueracer66
12-16-2007, 07:20 AM
Hey cool script... I've never seen it before ;)
WE are talking about the date/time for the SERVER in the settings in Admin interface. To be more clear, the main problem is the "Time Zone Format" in "Preferences" on the "General" tab. It's offset incorrectly and there does not appear to be compensation for daylight savings time, which enough countries/places/regions use to make it a viable item to consider.
The secondary problem is that when in the ADMIN, all dates and times are in a format that is not native to what we deal with on this end... and many other ends :D
Catch the drift? Got any other cool scripts?......
Ah, thanks for clearing that out.:) I got a lot of scripts. Currently I'm testing my own phpBB3 forum integration and better login panel (whicl will show user's avatar and new PMs)... I did a few plugins for Subdreamer CMS for personal and community use that I'm hoping to share with you (Vivvo CMS Community).
DRIVE
12-16-2007, 09:42 AM
Dude... ahhh.. we know you aren't with the support team. Why is that in your sig?
Anyway, we REALLY look forward to your code releases! Thanks for your help :)
apocan
12-16-2007, 09:59 AM
phpbb3 plugin and also a better user panel would be fantastic friend :D waiting for your nice news :D
Blueracer66
12-16-2007, 10:24 AM
Dude... ahhh.. we know you aren't with the support team. Why is that in your sig?
Anyway, we REALLY look forward to your code releases! Thanks for your help :)
lol I like your sig! >_<" I have that in my sig because I keep getting PMs of people needing help... I often have to search the forums for them and give the links. lol I'm new around here but people seem to be blind or something.:rolleyes:
Anyway, I really don't have much time to code but I'll focus on the "Reviews" plugin which I kind of need and phpBB3 integration. phpBB3 is awesome and I believe is a much better choice for integration.
phpbb3 plugin and also a better user panel would be fantastic friend :D waiting for your nice news :D
I'm here like every 15 minutes so I'll post my advances (if any) once I got some lol. No promesses, though. >.<"
DRIVE
12-21-2007, 05:40 PM
I will show you a cool sig! I used this on another forum and the admins kicked me off the board... didnt even let me have an opportunity to change it... I'll delete this post later if the admins dont do it sooner :)
My sig??
Removed to avoid trouble :D
apocan
12-21-2007, 05:46 PM
fantastic :D
Blueracer66
12-21-2007, 06:40 PM
lulz nice sig :D
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.