Skip to content

Commit

Permalink
Перевод last_seen_time в posix при получении подписчиков сообщества.
Browse files Browse the repository at this point in the history
  • Loading branch information
selesnow committed Oct 16, 2021
1 parent b4dccd8 commit da10b8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/vkGetGroupMembers.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ vkGetGroupMembers <-
unnest_wider('relatives', names_sep = '_') %>%
unnest_wider('relation_partner', names_sep = '_') %>%
unnest_wider('schools', names_sep = '_')

if ( 'last_seen_time' %in% names(tempData) ) {

tempData$last_seen_time <- as.POSIXct(tempData$last_seen_time, origin = '1970-01-01')

}

# add to result
result <- append(result, list(tempData))
Expand Down

0 comments on commit da10b8d

Please sign in to comment.