fit-together-tv / ft-issue-report

Issue report for fit-together-tv/chuongnau, etc
0 stars 0 forks source link

Exported Google Form time uploaded. #7

Closed nagthanm closed 3 years ago

nagthanm commented 3 years ago

Reproduction Steps

Actual Behavior

Updated time was not set in User Time Zone. Perhap It was set in Singapore Time Zone.

Device

Pc Windows 10

Browser

Microsoft Edge

Exported GG form not set in User Timezone

nagthanm commented 3 years ago
curl "https://asia-southeast2-chuongnau.cloudfunctions.net/offload-function-production-createFormFromQuestionForm?questionFormID=31" ^
  -H "authority: asia-southeast2-chuongnau.cloudfunctions.net" ^
  -H "sec-ch-ua: ^\^"Chromium^\^";v=^\^"92^\^", ^\^" Not A;Brand^\^";v=^\^"99^\^", ^\^"Google Chrome^\^";v=^\^"92^\^"" ^
  -H "accept: application/json, text/plain, */*" ^
  -H "authorization: Bearer <<token>>" ^
  -H "sec-ch-ua-mobile: ?0" ^
  -H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36" ^
  -H "origin: https://app.chuongnau.com" ^
  -H "sec-fetch-site: cross-site" ^
  -H "sec-fetch-mode: cors" ^
  -H "sec-fetch-dest: empty" ^
  -H "accept-language: en-US,en;q=0.9,ja;q=0.8,vi;q=0.7,fr;q=0.6" ^
  -H "if-none-match: W/^\^"1a1-SVjCt5d8ceMswuoNjzQPNscJpGg^\^"" ^
  --compressed
{"result":{"formEditURL":"https://docs.google.com/forms/d/1_cDeHlK_veotxVvYSx8yTdMsyyHJGz11FjJuwdrcpmM/edit","formID":"1_cDeHlK_veotxVvYSx8yTdMsyyHJGz11FjJuwdrcpmM","formPublishedURL":"https://docs.google.com/forms/d/e/1FAIpQLSfSgng5Ephn4WPE_GPijI7OgZsR30mskLtubMxj8GVgAsQxZg/viewform","formShortenedURL":null,"localizedUpdatedAt":"08/01/2021 12:35:28 Pm","questionFormID":"31","__typename":"QuestionFormGoogleForm"}}
bugless-it commented 3 years ago

Sending x-timezone to google function backend now, so updatedAt should work correctly. @nagthanm could you help check?

nagthanm commented 3 years ago

Problem solved