Comments (7)
Updated by dave0000 on 2009-04-15T12:45:19
OCUA needs this for Summer '09
Added label ocua
Original ticket set status to Accepted (we converted to open)
Title changed from 'use sunset time instead of "dark" for game end times' to 'use sunset time instead of "dark" for game end times'
from leaguerunner.
Updated by dave0000 on 2009-04-20T02:33:34
Added label Milestone-2.7
from leaguerunner.
Updated by dave0000 on 2009-04-27T02:03:48
Implemented in r1077
Original ticket set status to Fixed (we converted to closed)
from leaguerunner.
Updated by trawna.com on 2009-04-28T01:09:06
Any particular reason that new config values were added for lat and long, instead of
using the lat and long for the field? I'd guess it's a failsafe, as lat and long for
the fields are not required values.
Also, there's a LOCAL_TZ value in leaguerunner.conf that is set in the environment by
index.php, which means that date('Z') would give a daylight-savings-time adjusted
value based on this setting, instead of needing another config value for this.
from leaguerunner.
Updated by dave0000 on 2009-04-28T01:23:01
Doing it on a per-field basis is a future thing, at least for OCUA. For one, we
don't have correct lat/long for all of our sites. Also, moving to a separate timecap
per field (and given the east-west width of Ottawa, it's quite possible that there
could be a different end time for this) is likely to be too confusing to introduce now.
Computing the TZ offset from LOCAL_TZ is a good idea; I'll change that on my next
checkin.
from leaguerunner.
Updated by trawna.com on 2009-04-28T01:40:11
How about
SELECT AVG(latitude) FROM field
instead? Maybe too slow to do frequently?
This seems to only include non-NULL values in the calculation.
from leaguerunner.
Updated by dave0000 on 2009-04-28T01:47:31
No... that's too nondeterministic. If someone adds a new field or updates the
lat/long of an existing one, the end time can change out from under you in the middle
of the season.
The right thing to do is to eventually use the field coordinates only, but that
should probably wait until we have the google maps integration for creating fields by
dropping a point in the right place on a map.
from leaguerunner.
Related Issues (20)
- Users can't edit their account type HOT 2
- Field Booking Fails with no Game HOT 3
- OCUA needs to be able to search players by member number.
- Additional contact points for players
- Add creation_date field to player
- Integrated carpool support
- Wishlist items for field management HOT 1
- Must use Smarty 2
- Create Event missing Event Types HOT 1
- BUG(bad link): Home screen bad link for admin/coordinator HOT 1
- BUG - Multiple Event Registrations
- Feature: Minimum Roster size per League HOT 1
- Missing } in the DBInit.pm
- Field reassignment doesn't recalculate team's site satisfaction
- Add Address to ICAL listing LOCATION field. HOT 4
- ASCII symbols don't show up properly in all locations
- "request to join by captain - substitute player" in addition to "request to join by captain"
- Ties in standings glitch? HOT 2
- PHP Fatal error: smarty, unable to load base url
- demo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leaguerunner.