Accepting request 254661 from home:rudi_m
Update version 0.3.1, this is a bugfix release. OBS-URL: https://build.opensuse.org/request/show/254661 OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=30
This commit is contained in:
parent
4295afedcc
commit
417ae6ca10
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:95568b80142cd4781d78cc6420c545e50673673fd7467d18d3c264fea66b95a7
|
|
||||||
size 580236
|
|
3
dateutils-0.3.1.tar.xz
Normal file
3
dateutils-0.3.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b34f9d0bcb831e91c7ad3e3d17e56a8efbed11db302a2ee22437fd85dce11b19
|
||||||
|
size 586848
|
@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 7 15:08:30 UTC 2014 - sweet_f_a@gmx.de
|
||||||
|
|
||||||
|
- bump version 0.3.1, this is a bugfix release.
|
||||||
|
* Bugfixes:
|
||||||
|
- octave/matlab code is distributed fully
|
||||||
|
- negative durations with refined units are minus-signed only
|
||||||
|
once
|
||||||
|
- ddiff is entirely anticommutative now
|
||||||
|
- tests don't fail if zones don't exist on the build system
|
||||||
|
- dseq with empty ranges will no longer produce output (just as
|
||||||
|
seq(1))
|
||||||
|
- arbitrary integers are not interpreted as time anymore
|
||||||
|
- when converting from zone info properly clear zone difference
|
||||||
|
for %Z
|
||||||
|
- dseq(1) will automatically resort to +1mo and +1y iterators
|
||||||
|
for wildcarded ymd dates
|
||||||
|
- dadd(1)'ing ywd dates with output as ymd works properly now
|
||||||
|
* Features:
|
||||||
|
- ddiff can output nanosecond diffs
|
||||||
|
- automatic fix-up of dates is documented now
|
||||||
|
- parser errors and fix ups are reported through return code 2
|
||||||
|
- dseq with no `-f|--format` stays in the calendric system of
|
||||||
|
the start value instead of converting all output to ymd
|
||||||
|
* See info page examples and/or README.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 26 16:09:00 UTC 2014 - sweet_f_a@gmx.de
|
Tue Aug 26 16:09:00 UTC 2014 - sweet_f_a@gmx.de
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define xversion 0.3.0
|
%define xversion 0.3.1
|
||||||
|
|
||||||
%define have_octave 0
|
%define have_octave 0
|
||||||
%ifarch i586 x86_64
|
%ifarch i586 x86_64
|
||||||
@ -27,15 +27,13 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: dateutils
|
Name: dateutils
|
||||||
Version: 0.3.0
|
Version: 0.3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Nifty command line date and time utilities
|
Summary: Nifty command line date and time utilities
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Text/Utilities
|
Group: Productivity/Text/Utilities
|
||||||
Url: https://github.com/hroptatyr/dateutils/
|
URL: https://github.com/hroptatyr/dateutils/
|
||||||
Source: https://bitbucket.org/hroptatyr/dateutils/downloads/%{name}-%{version}.tar.xz
|
Source: https://bitbucket.org/hroptatyr/dateutils/downloads/%{name}-%{version}.tar.xz
|
||||||
## source file was missing in release 0.3.0
|
|
||||||
Source1: tzconv.m
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -58,7 +56,7 @@ their well-known cousins (e.g. dtest vs. test, or dgrep vs. grep).
|
|||||||
|
|
||||||
%if %have_octave
|
%if %have_octave
|
||||||
%package octave
|
%package octave
|
||||||
Summary: dateutils functions for matlab and octave
|
Summary: Dateutils functions for matlab and octave
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: octave
|
Requires: octave
|
||||||
@ -69,7 +67,6 @@ Dateutils can be used from within matlab or ocatave.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{xversion}
|
%setup -q -n %{name}-%{xversion}
|
||||||
cp -a %{SOURCE1} contrib/
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
16
tzconv.m
16
tzconv.m
@ -1,16 +0,0 @@
|
|||||||
% tzconv convert between timezones
|
|
||||||
%
|
|
||||||
% Syntax:
|
|
||||||
% d = tzconv(dates, from_zone, to_zone);
|
|
||||||
%
|
|
||||||
% Input Arguments:
|
|
||||||
% dates - a vector of matlab dates to be converted
|
|
||||||
% from_zone - interpret DATES as coming from FROM_ZONE
|
|
||||||
% to_zone - convert DATEs to TO_ZONE
|
|
||||||
%
|
|
||||||
% Output Arguments:
|
|
||||||
% d - vector of dates in the result
|
|
||||||
%
|
|
||||||
% Copyright (C) 2013 Sebastian Freundt <freundt@ga-group.nl>
|
|
||||||
%
|
|
||||||
% This file is part of dateutils
|
|
Loading…
Reference in New Issue
Block a user