File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,10 +35,11 @@ The OpenRocket client (and other interested 3rd parties) can access the live dat
3535
3636### Manifest Format
3737The ` metadata.json ` structure is defined as follows:
38+ ` database_version ` is a sortable timestamp in ` YYYYMMDDHHMMSS ` format.
3839``` json
3940{
4041 "schema_version" : 1 ,
41- "database_version" : 20251225 ,
42+ "database_version" : 20251225140000 ,
4243 "generated_at" : " 2025-12-25T14:00:00.000000" ,
4344 "motor_count" : 1033 ,
4445 "sha256" : " a1b2c3d4e5f6..." ,
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ def build():
217217
218218 meta = {
219219 "schema_version" : 1 ,
220- "database_version" : int (datetime .now ().strftime ("%Y%m%d" )),
220+ "database_version" : int (datetime .now ().strftime ("%Y%m%d%H%M%S " )),
221221 "generated_at" : datetime .now ().isoformat (),
222222 "motor_count" : motor_count ,
223223 "sha256" : sha256 .hexdigest (),
@@ -231,4 +231,4 @@ def build():
231231
232232
233233if __name__ == "__main__" :
234- build ()
234+ build ()
You can’t perform that action at this time.
0 commit comments