Comments (1)
Hi @sppigot
I believe THREDDS (and GeoServer) will always return dates in UTC - so I don't think we can default to showing the timezone returned by those services. Generally speaking, most users want to see local timezones in Terria.
From #6968 (comment)
Terria will render dates in your local timezone - this is the default behaviour for handling dates in web browsers.
If you want to display UTC times in the Terria UI - you can use the
dateFormat
configuration option.For example - if you put
UTC:
before your format string, then the date will be shown in UTC instead of your local timezone"dateFormat": "UTC:dd/mm/yyyy"
We were discussing this a few months ago
from terriajs.
Related Issues (20)
- Remove YDYR
- Bing event name should not be Gazetteer
- Pedestrian Mode should close other modes
- Latest TerriaJS version broke `/story/` prefix path HOT 5
- ium
- Upgrade to latest cesium HOT 2
- Workbench left-padding has disappeared
- Terrain splitter is broken
- TerriMap StyleSheet loading is slow HOT 1
- Invalid geojson data - only FeatureCollection and Feature are supported
- Reduce log noise
- Netlify fails with ReferenceError: TransformStream not defined HOT 1
- Globe does not show on some Android devices when zoomed out
- Not showing chart since v8.6.0
- Google Photorealistic 3D Tileset transparency problem HOT 1
- Importing "inobounce" in a node.js build of terriajs code causes `ReferenceError: document is not defined` HOT 2
- Support for User-Provided Credentials to Access Secured WMS/WFS Layers
- Default to colorBlendMode=HIGHLIGHT for Cesium3DTiles
- Timeline Play broken after Timeline closed once
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 terriajs.