Comments (2)
Updated the issue title to reflect that this isn't just a title problem, but reservations being created with the wrong time. Forum thread: http://www.chaosbrewclub.net/forum/website-committee/incorrect-reservation-times-displayed
from chaosbrewclub.
Yeah, I'm guessing this is because I did everything wrong when writing this module. Can you post up here what the proper way to handle things? I went through the code here quickly and here are the steps where I use the PHP DateTime module to convert things to both a timestamp and over to UTC for the database and then convert back when it comes out. Definitely not the drupal way of doing things, if you've got some time to help with the right way to do this in Drupal I'd appreciate it!
- Read input from forms api and convert string to datetime object
- Convert datetime from EST to UTC
- Get a timestamp string object and insert into database
- Retrieve timestamp from SQL, convert to datetime object
- Set object timezone to EST
- print in various places
from chaosbrewclub.
Related Issues (20)
- Join and Donate buttons in left sidebar HOT 1
- Superfish 404s in the log HOT 1
- Nuke Mandrill queue during site rebuild HOT 2
- Cleanup after figuring out email problems HOT 1
- queue_ui not in repo HOT 1
- Gift Membership Issue HOT 6
- Fix logic for "Member since" date HOT 1
- View count on forum pages HOT 3
- Beef up spam prevention on user registration form HOT 6
- Multiple User Views HOT 1
- Duplicate galleries HOT 2
- Update brewhouse reservation map HOT 5
- Title on user edit pages is wrong HOT 1
- Add a note field to the reservation node type HOT 4
- Javascript failing on mobile devices HOT 1
- Force everyone to use HTTPS
- Validate birthdate for users joining by gift membership
- Event check-in: increase fetch limit on query
- CHAOS weekly news email not being sent
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 chaosbrewclub.