orcasound / aifororcas-livesystem

Real-time AI-assisted killer whale notification system (model and moderator portal) :star:
http://orcahello.ai4orcas.net/
MIT License
37 stars 25 forks source link

Tag Curation #65

Closed micowan closed 3 years ago

micowan commented 3 years ago

This provides the moderators with a means for bulk updating or deleting tags so that they can consolidate them into a more consistent data set. Also fixed a minor issue with dates not calculating to the Pacific Time Zone correctly.

micowan commented 3 years ago

Thank you. Proved that Kenneth's CI/CD pipeline worked!

Michael Cowan | Senior Consultant

Microsoft Corporation


From: Michelle Yang @.> Sent: Saturday, October 16, 2021 11:39 AM To: orcasound/aifororcas-livesystem @.> Cc: Mike Cowan @.>; Author @.> Subject: Re: [orcasound/aifororcas-livesystem] Tag Curation (#65)

@micya approved this pull request.


In ModeratorFrontEnd/AIForOrcas/AIForOrcas.Client.BL/Helpers/DateHelper.cshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Forcasound%2Faifororcas-livesystem%2Fpull%2F65%23discussion_r730277823&data=04%7C01%7Cmicowan%40microsoft.com%7C5d35b83a58a44e8e433608d990bb2af1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637699955830168036%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YAz8apSUV78B3StArCoJDLyTQuC4HjGCepvxVz%2Bq6a4%3D&reserved=0:

                  datetime = DateTime.SpecifyKind(datetime, DateTimeKind.Utc);
  • DateTime pstTime = TimeZoneInfo.ConvertTimeFromUtc(datetime, pstZone);
  • var zoneString = pstZone.IsDaylightSavingTime(pstTime) ? "PDT" : "PST";
  • DateTime pstTime = TimeZoneInfo.ConvertTime(datetime, TimeZoneInfo.Utc, pst);

Out of curiosity: what is the difference between ConvertTimeFromUtc vs ConvertTime used here?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Forcasound%2Faifororcas-livesystem%2Fpull%2F65%23pullrequestreview-781368702&data=04%7C01%7Cmicowan%40microsoft.com%7C5d35b83a58a44e8e433608d990bb2af1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637699955830177985%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5a8U4anAUXheSJ6hWgs4lSGjtbZiTRHBnH6kQrqC%2BXU%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFM7GJHN7Z5C5FSLTEHBWTTUHGMDZANCNFSM5GA2T4EA&data=04%7C01%7Cmicowan%40microsoft.com%7C5d35b83a58a44e8e433608d990bb2af1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637699955830177985%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=vqPFWyZxbEgXLK8k7IGsBuW0cyFzXM8kHCdnjd8QQ%2FU%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cmicowan%40microsoft.com%7C5d35b83a58a44e8e433608d990bb2af1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637699955830187945%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oy0Bo9j%2BweOy6pjVeC4XxXmi%2BCymI1JLpl8pu1s15Hs%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cmicowan%40microsoft.com%7C5d35b83a58a44e8e433608d990bb2af1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637699955830187945%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=nNgUwaVlYysjybP8HP2eZlVJpOlZsC5r9qTyzT%2B9ncE%3D&reserved=0.