File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,8 +116,15 @@ def from_iso8601_time(value):
116116
117117
118118def from_rfc3339 (value ):
119+ < << << << HEAD
120+ """Convert an RFC3339-format timestamp to a native datetime.
121+
122+ Supported formats include those without fractional seconds, or with
123+ any fraction up to nanosecond precision.
124+ =======
119125 """ Convert a nanosecond - precision or if nanoseconds are missing
120126 microsecond - precision timestamp to a native datetime .
127+ > >> > >> > 06 bee67b097e485a58415d218f3ac421a04d3d6a
121128
122129 .. note ::
123130 Python datetimes do not support nanosecond precision ; this function
@@ -173,13 +180,16 @@ def from_rfc3339_nanos(value):
173180 ValueError : If the timestamp does not match the RFC3339
174181 regular expression .
175182 """
183+ <<<<<<< HEAD
184+ =======
176185 # Raise deprecation warnings for things we want to go away.
177186 warnings.warn(
178187 "The `from_rfc3339_nanos` function is deprecated"
179188 " use `from_rfc3339` instead.",
180189 DeprecationWarning,
181190 stacklevel=2,
182191 )
192+ >>>>>>> 06bee67b097e485a58415d218f3ac421a04d3d6a
183193 return from_rfc3339(value)
184194
185195
You can’t perform that action at this time.
0 commit comments