Slon/Modules/ActivityPub: Fix offset for HTTP signatures (for now)
This commit is contained in:
parent
c726b7e206
commit
fd8d6ca2b7
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ U0 @slon_activitypub_users_get(SlonHttpSession* session)
|
|||
http_headers->set("Accept", "application/activity+json", JSON_STRING);
|
||||
|
||||
CDateStruct ds;
|
||||
Date2Struct(&ds, Now + 1043910000);
|
||||
Date2Struct(&ds, Now + 835128000);
|
||||
StrPrint(scratch_buffer, "%03tZ, %02d %03tZ %04d %02d:%02d:%02d GMT", ds.day_of_week, "ST_DAYS_OF_WEEK", ds.day_of_mon, ds.mon - 1, "ST_MONTHS",
|
||||
ds.year, ds.hour, ds.min, ds.sec);
|
||||
http_headers->set("Date", scratch_buffer, JSON_STRING);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue