I have a method DateTime.civil(...)
want to ignore dst
on this
I can check the dst using dst?
isdst
but how can I ignore dst?
Any kind of help will be really helpful for me.
I got some links like Rails ignore daylight savings time also many other but they are even not much helpful
but they are not ignore dst from Datetime.civil
functionality
we can skip it in model using skip_time_zone_conversion_for_attributes
same thing can we do for view I do not want to show it as string
thanks in advance