title: error while plotting bar chart sales_per_day in a month w.r.t date in 2021_Jan
body: <p><a href="https://i.stack.imgur.com/UhiXh.png" rel="nofollow noreferrer">This is my previous data</a></p>
  <pre><code>Jan_df=Jan %&gt;%
   
  select(&quot;Updated_Date&quot;,&quot;Amount&quot;) %&gt;% 
   
  mutate(Date=parse_date_time(Jan$Updated_Date,&quot;ymd_HMS&quot;,tz=&quot;&quot;)) %&gt;% 
    
  select(Date,Amount) %&gt;% 
    
  group_by(date(Date)) %&gt;% 
    
  summarise(sale_per_day=sum(Amount))
  
  [This the data after I grouped by dates followed by summarize sales per day][2]
  
  library(ggplot2)
  
  ggplot(Jan_df,aes(x=(date(Date)),y=sale_per_day,fill=sale_per_day))+
    
  geom_bar(satat=&quot;identity&quot;)
  </code></pre>
  <p>I got error while running above code for plotting bar plot for sales w.r.t to date</p>
  <p>**&gt; ggplot(Jan_df,aes(x=(date(Date)),y=sale_per_day,fill=sale_per_day))+</p>
  <ul>
  <li>geom_bar(satat=&quot;identity&quot;)</li>
  </ul>
  <p>Error in as.POSIXlt.default(x, tz = tz(x)) :</p>
  <p>do not know how to convert 'x' to class “POSIXlt”</p>
  <p>In addition: Warning message:</p>
  <p>Ignoring unknown parameters: satat**</p>