Mercurial > gemma
comparison client/src/components/map/contextbox/Bottlenecks.vue @ 1520:6ad1f431bc85
Fixed date of latest measurement in bottlenecks list.
As the time zone conversion done by geoserver leads to unexpected
results for date fields if the local timezone differs from UTC, I
replaced the date column in the bottleneck_overview view with text.
As the transport format used (JSON) does handle dates as strings
anyway we do not loose any information by doing so...
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 06 Dec 2018 15:37:06 +0100 |
parents | 6b3756676bbe |
children | 276df8dadc14 |
comparison
equal
deleted
inserted
replaced
1519:08e1b38a4a8b | 1520:6ad1f431bc85 |
---|---|
274 }) | 274 }) |
275 .finally(() => (this.loading = null)); | 275 .finally(() => (this.loading = null)); |
276 } | 276 } |
277 }, | 277 }, |
278 displayCurrentSurvey(current) { | 278 displayCurrentSurvey(current) { |
279 return current ? current.substr(0, current.length - 1) : ""; | 279 return current ? current : ""; |
280 }, | 280 }, |
281 displayCurrentChainage(from, to) { | 281 displayCurrentChainage(from, to) { |
282 return from / 10 + " - " + to / 10; | 282 return from / 10 + " - " + to / 10; |
283 } | 283 } |
284 }, | 284 }, |