phpScheduleIt
May 24, 2013, 09:44:54 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: phpScheduleIt 2.4.2 has been released!
Home
Help
Login
Register
phpScheduleIt
>
Help and Support
>
phpScheduleIt 1.1.x
>
re: $conf['app']['timezone']
Pages: [
1
]
« previous
next »
Print
Author
Topic: re: $conf['app']['timezone'] (Read 6616 times)
spaceageliving
Newbie
Karma: 0
Posts: 8
re: $conf['app']['timezone']
«
on:
August 18, 2006, 11:50:41 PM »
I'm on a shared hosting environment where the server reports its time set to GMT (I think, from what I have deduced...PHP's time functions indicate GMT when I call them anyway).
I set $conf['app']['timezone'] = -5 since I want the calendar to reflect EST. However, the calendar is "greying out" entries for the day starting at 10:00PM EST--which means, I think, that the calendar believes 12am is really 10pm (calendar is running 2 hours early...).
Is this a php/time zone issue, or am I using $conf['app']['timezone'] correctly? If I'm not mistaken, I would need to use $conf['app']['timezone'] = -3 to adjust this correctly, which is probably Iceland (IST) or something ;-).
TIA--David
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
re: $conf['app']['timezone']
«
Reply #1 on:
August 22, 2006, 10:25:49 AM »
You can figure out what timezone the server is using with this function:
http://www.php.net/manual/en/function.date-default-timezone-get.php
Also, if you have the reservation minimum notice time set to 3 hours with timezone at -5, you would also see the same result.
Logged
spaceageliving
Newbie
Karma: 0
Posts: 8
re: $conf['app']['timezone']
«
Reply #2 on:
August 22, 2006, 10:41:43 AM »
Nick--this is probably a "duh" question, but I can't find the reservation minimum notice time setting anywhere...is it in config.php?
Also, it looks like date_default_timezone_get is a php5-only function?
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
re: $conf['app']['timezone']
«
Reply #3 on:
August 22, 2006, 10:54:03 AM »
That setting is in the resource management admin page.
Another way to check the timezone of the server is just print out the date('d-M-Y H:i:s'); Then you can compare to your local time and figure out the right timezone.
Logged
spaceageliving
Newbie
Karma: 0
Posts: 8
re: $conf['app']['timezone']
«
Reply #4 on:
August 22, 2006, 11:02:10 AM »
I see 'Minimum Reservation Time' (which is set to 0/0), but I don't think this is the setting you are referring to (reservation min notice time)...am I missing something?
Logged
spaceageliving
Newbie
Karma: 0
Posts: 8
re: $conf['app']['timezone']
«
Reply #5 on:
August 22, 2006, 11:23:23 AM »
OK, so I ran date(); as you suggested and it looks like the server is running GMT since it is 8 hours ahead of PST.
Oddly, users are "greyed out" of the calendar entries for the day at 8:30pm EST when I'm running:
$conf['app']['timezone'] = -5;
...in an attempt to have the calendar reflect EST.
Must this be due to the reservation min notice time setting which you have referred to?
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
re: $conf['app']['timezone']
«
Reply #6 on:
August 22, 2006, 12:45:12 PM »
That's possible. Or it may be a bug somewhere in the code.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> Open Discussion
=> Donations
-----------------------------
Help and Support
-----------------------------
=> phpScheduleIt 2.x
=> EspaƱol
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
=> New Features and Suggestions
=> Developers
-----------------------------
Bugs
-----------------------------
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
-----------------------------
Modifications
-----------------------------
=> Post Modifications
=> Request Modification
-----------------------------
Development
-----------------------------
=> phpScheduleIt 2.0
-----------------------------
Off-Topic
-----------------------------
=> Non-phpScheduleIt Discussion
Loading...