]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/assets/js/base.js
bring in line with API (https://github.com/openstreetmap/Nominatim/pull/968)
[nominatim-ui.git] / src / assets / js / base.js
index 2aed93b998bfbcd7cf9e141ceab732e4b984a683..9e8f86e7ebbe9ac32ff013557af6ea0e5e9fcedb 100644 (file)
@@ -63,7 +63,7 @@ function fetch_from_api(endpoint_name, params, callback) {
 
 function update_data_date() {
     fetch_from_api('status', {format: 'json'}, function(data){
-        $('#data-date').text(data.data_last_updated.formatted);
+        $('#data-date').text(data.data_last_updated);
     });
 }