Comments (5)
My concern with allowing this is now the API developer will have to manage datetime properly and that becomes a slippery slope.
- UTC is more reliable, the client can display the date and time in whatever format they want
- Users are in timezones, not offsets and that can change over time
- What happens if a client saves the converted date values and they are no longer correct?
- For example, what if california no longer observes DST but a client stores those values?
from hyperion.
So just use UTC with offset and avoid the daylight savings debacle?
from hyperion.
I agree, but what do we do when customers want the date fields in their timezone offset
at the time of their request?
Interpreting the time difference due to timezone change after DST change is on them in that case, of course.
from hyperion.
By the way, I have 0 problem with responding UTC date fields as long as I can include non-UTC date time for downloadable contents for this issue - #20
from hyperion.
So just use UTC with offset and avoid the daylight savings debacle?
No unfortunately offset is heavily dependent on the timezone and that is also affected by DST.
from hyperion.
Related Issues (8)
- Add a code property to each ErrorDetail object HOT 3
- Content-Disposition: attachment HOT 2
- Resource conventions and examples
- Appendix / lookup endpoints consolidation path HOT 2
- Add new entrypoint type to spec HOT 2
- Proposal for 201 Created responses HOT 3
- Document REST standards for resources CRUD operations
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 hyperion.