Skip to content

Commit ba9e0cb

Browse files
authored
V3.1.2 (#37)
* version 3.1.1 * add conda_build_config.yaml * fix conda upload for new recipe * unpin conda-build to get the latest * only need to upload once * upload cdtime once * add conda-upload to macos py3 * recompile with libdrs * fix some documentation error
1 parent 12e2287 commit ba9e0cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Lib/compreltime.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def c2r(ctype, newunits):
5151
Relative time class object.
5252
::
5353
54-
>>> myComponentTime = cdtime.comptime(2020,01,10)
54+
>>> myComponentTime = cdtime.comptime(2020,1,10)
5555
>>> myRelativeTime = cdtime.c2r(myComponentTime,"days since 2020")
5656
>>> myRelativeTime
5757
9.00 days since 2020
@@ -81,8 +81,8 @@ def compare(cdtime1, cdtime2, calendar=_cdtime.DefaultCalendar):
8181
1: if time1 > time2
8282
::
8383
84-
>>> myComponentTime = cdtime.comptime(2020,01,10)
85-
>>> myRelativeTime = cdtime.relativetime(11 "days since 2020")
84+
>>> myComponentTime = cdtime.comptime(2020,1,10)
85+
>>> myRelativeTime = cdtime.relativetime(11,"days since 2020")
8686
>>> cdtime.cmp(myComponentTime, myRelativeTime, cdtime.GregorianCalendar)
8787
>>> cdtime.compare(myRelativeTime, myComponentTime, cdtime.GregorianCalendar)
8888
1

ci-support/conda_upload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
PKG_NAME=cdtime
33
USER=cdat
4-
export VERSION="3.1.1"
4+
export VERSION="3.1.2"
55
echo "Trying to upload to conda"
66
echo ""
77
echo "Activating base env"

0 commit comments

Comments
 (0)