Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date readability #2

Open
cascafico opened this issue Mar 29, 2024 · 0 comments
Open

Date readability #2

cascafico opened this issue Mar 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cascafico
Copy link

Fields "Data_di_caricamento" and "Data_ultimo_aggiornamento" are expressed in millisenconds Epoch Time. To improve readability, values can be converted using Openrefine with the following operations:

[
  {
    "op": "core/text-transform",
    "engineConfig": {
      "facets": [],
      "mode": "row-based"
    },
    "columnName": "Data_ultimo_aggiornamento",
    "expression": "grel:timeSinceUnixEpochToDate(toNumber(value), \"millisecond\")",
    "onError": "keep-original",
    "repeat": false,
    "repeatCount": 10,
    "description": "Text transform on cells in column Data_ultimo_aggiornamento using expression grel:timeSinceUnixEpochToDate(toNumber(value), \"millisecond\")"
  },
  {
    "op": "core/text-transform",
    "engineConfig": {
      "facets": [],
      "mode": "row-based"
    },
    "columnName": "Data_di_caricamento",
    "expression": "grel:timeSinceUnixEpochToDate(toNumber(value), \"millisecond\")",
    "onError": "keep-original",
    "repeat": false,
    "repeatCount": 10,
    "description": "Text transform on cells in column Data_di_caricamento using expression grel:timeSinceUnixEpochToDate(toNumber(value), \"millisecond\")"
  }
]
@aborruso aborruso added the enhancement New feature or request label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants