Skip to content

Instantly share code, notes, and snippets.

@mindaslab
Created November 19, 2011 16:52
Show Gist options
  • Save mindaslab/1379044 to your computer and use it in GitHub Desktop.
Save mindaslab/1379044 to your computer and use it in GitHub Desktop.
def ist(time)
time.in_time_zone(TZInfo::Timezone.get('Asia/Kolkata'))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment