I am using Rally "Custom list With Deep export"
We have a field Planned end date. How ever while exporting it gives the result for next day in CSV format.
e.g: If the date is 31 December 2019 in Rally then in CSV it shows as 1 January 2020. Is it intended behavior? or a bug
Hmmm, is this related to the timezone that you are in? If your workspace timezone is different from your machine timezone, it can throw up oddities like this.
The app might not be timezone aware.
Related
I have a table (react/Nodejs) which reads the entries from db and list it in the table. All entries in db are UTC, however depending on the user time zone the table is showing different data. For example in the attached snapshot our week on header is from Sep 19 to Sep 25 but the table shows Sep 26 entry which is outside of the range. That only happens with users on (UTC-xxx) time and not for user on (UTC+xxx). Your help is appreciated? Table Image
Use a timezone library to render it with a specific timezone
The problem is caused when formatting the object to be rendered in the UI, so probably the method you are using is as you say taking into account the users timezone and not a specific one that you set.
To achieve this, you can use a library like moment timezone. Or a variant compatible with your libraries.
Hope it helps.
I am using docusaurus v2 and created a blog file with the name containing the date I want it to be shown as the post date. However, the date in the generated blog is off by 1 day. Is this something to do with UTC vs local time? How do I make sure the date I give in the file name is the date it displays?
This is not yet resolved. There is an open issue here: https://github.com/facebook/docusaurus/issues/4881
It looks like it's related timezone conversion between UTC and local. A few people have posted temporary workarounds.
I want to play with some really simple queries for a report, but I want to group everything by the creation date. The problem I am having is that time exists in the database, but not the date. From searching around in trac-related resources, it looks like I need to install trac.util.datefmt to be able to extract this information from datetime(time). I can find the API documentation for trac.util.datefmt, but not a download link to get the .egg.
Am I going in the right direction? If I can do what I need (i.e. get the creation month/day/year) without a plugin, what column do I use? I don't see anything else in the schema that is reasonable. If I do need trac.util.datefmt, where do I download it from? And if I really need a different plugin, which one should I be using?
I'll assume Trac >= 1.0. The time column is unix epoch time: the number of seconds that have elapsed since January 1st 1970. You can divide the value by 1e6 and put the value in a converter to see an example of extracting the datetime from the time column. trac.util.datefmt is part of the egg that ships with Trac, but since you are working with reports it doesn't sound like you need to know more about that function to accomplish your aim.
In a Trac report the time column will be automatically formatted as a date. You can look at the default report {1} as an example. I'm not sure how you intend to group by creation date. Do you wish to group tickets created in a certain datetime range?
I am looking for a solution how to change file's property "Date Created". Preferably in VBA since it is the only programming language I more or less able to code with.
I have hundreds of photos taken from my last vacations. And I have noticed that date in my camera settings is wrong. It is set to be December 2014. So the real date on all pictures is shifted back by 216 days, 16 hours and 25 minutes.
How can I possibly open all pictures in a given directory one by one and change "Date Created" property by given number of days and hours? Any hints, please?
There are freeware tools that can help you with this task, but if you want to do it for fun, you can achive this by importing SetFileTime in your VBA code and then call it for each file in your directory.
To get started, you can find an example here
I have a set of tickets that were managed via a primitive MS Excel sheet.
The worksheet was as follows
Opened Date | Closed Date | Ticket Content
I want to put them on trac in order to have a complete overview of the tickets opened-closed and the performance of the dev team. However out of the box trac doesn't allow me to set an opened/closed date for a ticket in the past.
Is there a solution for this ?
Some time ago I had a similar demand. I resolved it by batch-import with the help of TicketImportPlugin.
I used a custom field due_date of type text. Calculating POSIX (micro)second time stamp needed some custom formula, but worked sufficiently well. These numbers where imported, and I changed field type to date afterwards. Note that I used a patched Trac code, that entered Trac upstream for version 1.1dev meant for 1.2 now. Another option would be to use the DateFieldPlugin, that deals with date strings internally. But why bother, of you know, that you could use could get true custom time fields supported by Trac core right-away?
I did alter creation date/time too. This has been done by importing another custom field, and copying values back to the time column of ticket db table. A bit of dirty hand-work on configuration and database, but once figured out it worked like a charm and I had 3000+ issues of many years imported with historically correct time stamps in a few minutes.