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

Issue with date format when using derived-variables #528

Closed
Seddryck opened this issue Oct 2, 2019 · 2 comments
Closed

Issue with date format when using derived-variables #528

Seddryck opened this issue Oct 2, 2019 · 2 comments

Comments

@Seddryck
Copy link
Owner

Seddryck commented Oct 2, 2019

If the initial text is 20191001_141542.xml, the value of timing will be evaluated to 2019-10-01 12:15:42 but the value of start is evaluated to 2019-01-10 12:15:00

<derived-variable name="timing" type="dateTime" based-on="file">
  <script language="native">
    path-to-filename-without-extension | text-to-dateTime(yyyyMMdd_HHmmss) 
    | local-to-utc(Brussels)
  </script>
</derived-variable>
<derived-variable name="start" type="dateTime" based-on="timing">
  <script language="native">
    dateTime-to-floor-minute | dateTime-to-add(00:30:00, -1)
  </script>
</derived-variable>
@Seddryck Seddryck added the bug label Oct 2, 2019
@Seddryck Seddryck added this to the v1.21 milestone Oct 2, 2019
@Seddryck
Copy link
Owner Author

Seddryck commented Oct 3, 2019

Checked and cannot reproduce. Could be linked to #529, will check further next week.

@Seddryck Seddryck modified the milestones: v1.21, v1.22 Nov 1, 2019
@Seddryck Seddryck modified the milestones: v1.22, v1.23 Jan 5, 2020
@Seddryck
Copy link
Owner Author

Seddryck commented Jan 5, 2020

This should be checked further with the culture issues that were identified during the last month.

@Seddryck Seddryck modified the milestones: v1.22, v1.23 Jan 14, 2020
@Seddryck Seddryck removed this from the v1.23 milestone Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant