I'm writing a library that reads Time in and out of a database. As part of 
that, I am writing unit tests the output of $ for Time. $ does not take extra 
parameters by its nature.

The problem is that $ generates a string in my local time zone. For myself, 
that kind of works. But if/when the library is released, asking each developer 
to change their timezone to run nimble test is not particularly friendly or 
ideal.

I've come up with a hack-ish workaround for now.

But, is there a way to override the timezone in nim? Or perhaps a command-line 
switch to place in the t*.cfg files? 

Reply via email to