mwarning / openwrt-firmware-selector

OpenWrt firmware selector. With custom image builder support.
https://mwarning.github.io/openwrt-firmware-selector/www/
Creative Commons Zero v1.0 Universal
39 stars 22 forks source link

use correct build date #55

Closed mwarning closed 4 years ago

mwarning commented 4 years ago

Before, the last modified date of the profiles.json was used as build date.

This is probably no a good idea either. We better use the last_modified header filed of the image and query that in the browser.

mwarning commented 4 years ago

54

mwarning commented 4 years ago

There are three ways to get a build date.

  1. From a date field in the overview.json
  2. Live via last_modified http header of the image
  3. last_modified http header of overview.json

@aparcar what do you think is the best way?

mwarning commented 4 years ago

ok, I implemented variant 1.

The only drawback i see, is that now there is a date field for every model. But it should be easily compressible.

mwarning commented 4 years ago

fixed