{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Transition from datetime to astropy.time" ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ ".. post:: Oct 20, 2018\n", " :author: Vishnunarayan K I\n", " :tags: sunpy, time, gsoc\n", " :category: Google Summer of Code\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ " The SunPy project is very happy to announce that the time handling in SunPy will be transitioned from python `datetime` module to `astropy.time` module.\n", "The changes for this transition are under review in the pull request [#2691]( ).\n", "These changes are scheduled for **SunPy 1.0**.\n", "\n", "This comes with numerous benefits:" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**Support for non-UTC time scales**\n", "\n", "UTC as well as non-UTC time scales like TAI, TT, UT1 etc. can be used with `astropy.time.Time`." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "