testilo 24.2.0 → 24.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/procs/util.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "24.2.0",
3
+ "version": "24.3.0",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "aim.js",
6
6
  "scripts": {
package/procs/util.js CHANGED
@@ -20,7 +20,9 @@ const getTimeString = date => date.toISOString().slice(0, 19);
20
20
  // Returns a string representing the date and time.
21
21
  exports.getNowString = () => getTimeString(new Date());
22
22
  // Returns a time stamp representing a date and time.
23
- const getTimeStamp = date => getTimeString(date).replace(/[-:]/g, '').slice(2, 13);
23
+ const getTimeStamp
24
+ = exports.getTimeStamp
25
+ = date => getTimeString(date).replace(/[-:]/g, '').slice(2, 13);
24
26
  // Returns a time stamp representing the date and time.
25
27
  exports.getNowStamp = () => getTimeStamp(new Date());
26
28
  // Inserts a character periodically in a string.