@flourish/interpreter
Advanced tools
Comparing version 7.0.0 to 8.0.0
@@ -926,4 +926,4 @@ (function (global, factory) { | ||
function createDatetimeInterpretation(format_string, secondaryTest) { | ||
var parser = timeParse(format_string); | ||
var formatter = timeFormat(format_string); | ||
var parser = utcParse(format_string); | ||
var formatter = utcFormat(format_string); | ||
var test; | ||
@@ -930,0 +930,0 @@ if (typeof secondaryTest === "function") { |
{ | ||
"name": "@flourish/interpreter", | ||
"version": "7.0.0", | ||
"version": "8.0.0", | ||
"description": "Does a best guess at the type of data supplied", | ||
@@ -5,0 +5,0 @@ "main": "interpreter.js", |
@@ -0,3 +1,7 @@ | ||
# 8.0.0 | ||
* Make datetime parsing and output consistent across locales | ||
# 7.0.0 | ||
* Export recognised data type formats list | ||
# 6.0.4 | ||
@@ -4,0 +8,0 @@ * License under the Flourish Component License |
@@ -1,2 +0,2 @@ | ||
import { timeFormat, timeParse } from "d3-time-format"; | ||
import { utcParse, utcFormat } from "d3-time-format"; | ||
import { shield } from "./common"; | ||
@@ -56,4 +56,4 @@ | ||
function createDatetimeInterpretation(format_string, secondaryTest) { | ||
var parser = timeParse(format_string); | ||
var formatter = timeFormat(format_string); | ||
var parser = utcParse(format_string); | ||
var formatter = utcFormat(format_string); | ||
var test; | ||
@@ -60,0 +60,0 @@ if (typeof secondaryTest === "function") { |
const { expect } = require("chai"); | ||
const createInterpreter = require("../interpreter"); | ||
const { createInterpreter } = require("../interpreter"); | ||
const _createAccessorFunction = createInterpreter._createAccessorFunction; | ||
@@ -4,0 +4,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97444
14