Skip to content

Commit

Permalink
Bump version, update CHANGES, bundle as 1.2.29
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Dec 8, 2019
1 parent 8f08b54 commit 3814a0d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGES.txt
@@ -1,3 +1,9 @@
=========================
Changes in version 1.2.29
=========================

- Drop time from ISO date strings before parsing

=========================
Changes in version 1.2.28
=========================
Expand Down
3 changes: 2 additions & 1 deletion citeproc.js
Expand Up @@ -59,7 +59,7 @@ Copyright (c) 2009-2019 Frank Bennett

var CSL = {

PROCESSOR_VERSION: "1.2.28",
PROCESSOR_VERSION: "1.2.29",

error: function(str) { // default error function
if ("undefined" === typeof Error) {
Expand Down Expand Up @@ -3254,6 +3254,7 @@ CSL.DateParser = function () {
var yearIsNegative = false;
var lst;
if (txt) {
txt = txt.replace(/^(.*[0-9])T[0-9].*/, "$1");
// If string leads with a minus sign, strip and memo it.
if (txt.slice(0, 1) === "-") {
yearIsNegative = true;
Expand Down
3 changes: 2 additions & 1 deletion citeproc_commonjs.js
Expand Up @@ -59,7 +59,7 @@ Copyright (c) 2009-2019 Frank Bennett

var CSL = {

PROCESSOR_VERSION: "1.2.28",
PROCESSOR_VERSION: "1.2.29",

error: function(str) { // default error function
if ("undefined" === typeof Error) {
Expand Down Expand Up @@ -3254,6 +3254,7 @@ CSL.DateParser = function () {
var yearIsNegative = false;
var lst;
if (txt) {
txt = txt.replace(/^(.*[0-9])T[0-9].*/, "$1");
// If string leads with a minus sign, strip and memo it.
if (txt.slice(0, 1) === "-") {
yearIsNegative = true;
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "citeproc",
"version": "2.2.28",
"description": "The citeproc-js citation formatting module, in CommonJS format. This version is based on citeproc-js 1.2.28",
"description": "The citeproc-js citation formatting module, in CommonJS format. This version is based on citeproc-js 1.2.29",
"main": "citeproc_commonjs.js",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/load.js
Expand Up @@ -35,7 +35,7 @@

var CSL = {

PROCESSOR_VERSION: "1.2.28",
PROCESSOR_VERSION: "1.2.29",

error: function(str) { // default error function
if ("undefined" === typeof Error) {
Expand Down

0 comments on commit 3814a0d

Please sign in to comment.