Comments (3)
@offsky please see if this is how you need it to be.
from ade.
Half way there. The issue description isn't clear on this (sorry), but we need the timezone for date, date+time and year. I went ahead and made this simple modification already.
Now, once [time,timezone] is returned via datapicker, we need to store the entire thing into the model. So, the model will be an array instead of an integer now. The filter will need to be modified to handle this during display time and the directive will need to handle this during edit time as well.
The idea is that if I am in San Diego and I set the value to "Jun 5, 1:00pm" and then I fly to New York, the value should display "June 5, 1:00pm PST". Currently it will adjust for the local time and display "June 5, 4:00pm" which can be confusing to people. Since we will now be recording the timezone that the time was set in, we can have our filter take this into account and display the timezone (PST) at the end of the date/time if it is from a different timezone. I would probably be a good idea for this to be an option that we pass into the filter so we can either display local time or the setters time depending on a flag.
In the future, we could also provide a way to hover your mouse over the date and see the local time and setters time in a popup.
from ade.
from ade.
Related Issues (20)
- Calendar should highlight today's date HOT 1
- Date filter needs popup with day of week HOT 4
- Date popups need adjusted triangles when on top HOT 1
- Icon popup should flip up top when it would be off the bottom of the page HOT 1
- Rich text should flip up top when it would be off bottom of page. HOT 1
- Use HTML pattern attribute to force number input
- Rename length directive to "duration" HOT 1
- Updating rating directive to use fontawesome instead of images HOT 1
- Need to test on iOS and make issues for any directives that need iOS changes HOT 1
- New value null/empty check option [FEATURE REQUEST] HOT 5
- Broadcast fieldname option [FEATURE REQUEST] HOT 4
- Package theses directives for bower HOT 3
- Conflict beetween ADE date component and AngularUI date HOT 2
- Long tex link insertion doesn't work if http omitted.
- Any prebuilt.js files for ADE? Build is failing for latest pull HOT 3
- Is ADE/dist/build/ade.min.js minified? HOT 1
- Color Picker
- Location
- Stock Ticker
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 ade.