Comments (5)
Conclusion here (from another thread) is to do this (I can do this during the week):
- Remove lib-context
- Remove local moment.js
- Evaluate if timezone moment is needed
- Add (and use) lib-moment from Market
- Remove setting on site/cty for timezone (always read selected content type's timezone instead)
- Test any remaining code, especially for timezone on/off in different content types
- Tag and Release 0.12.0
from app-rss.
To work with dateTime on all solutions that I'm inserted, I'm using moment.js and moment-timezone. This is a huge-spread lib that many javascript developers like. As it's very stable, I think it should be a good one to use on this app. I'm making some tests with the rss feed and soon I'll commit my changes to you check if it's ok for the v1.0 :)
from app-rss.
A new field on the RSS Page content type could be added to use user-seted timezone (with UTC+0 as default). That way, if my application rss serves from Oslo for example, I could use "Europe/Oslo". A full list of timezones could be added to the main documentation to help users how to find the correct one for the app.
Ref: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
from app-rss.
I've merged current things for 0.12.0, not released yet. I don't see why this setting is needed, nor why moment is added manually (we have a lib for it on Market). After hearing back from you I can fix final things and release new version. Other changes are merged and they work very well, thx! =)
from app-rss.
This is now working properly
from app-rss.
Related Issues (20)
- If excerpt/description is empty, no text is displayed - use part of body! HOT 2
- Don't execute query in rss.js if not enough data is specified HOT 1
- ContentSelector for selecting paths to include/exclude
- Improve docs and help-texts on all schemas HOT 1
- Make lang tag on RSS feed dynamic HOT 1
- Use main.js to auto-create Page Template if not exists HOT 1
- Don't run controller code when viewing template directly in Content Studio
- 500 Error when setting up the RSS template HOT 3
- Timezone and datetime handling in general is bad HOT 1
- Setting for "injecting" promo-text in all RSS content
- Use controller mapping to make template setup obsolete
- Filter ContentTypeFilter to existing site
- Appen fungerer ikke i 6.15.5 HOT 7
- Upgrade app-rss to be compatible with XP 7
- Multiple "Paths to include" values HOT 2
- Limit the input of rss no whitespace allowed
- Update lib-xslt
- Create service that helps with headless integration
- Norwegian characters break RSS feed HOT 1
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 app-rss.